mirror of https://github.com/grpc/grpc-java.git
fix ServerBuilder callExecutor javadoc about direct executor (#8305)
This commit is contained in:
parent
22aa8fcef1
commit
6857d1b482
|
|
@ -82,11 +82,8 @@ public abstract class ServerBuilder<T extends ServerBuilder<T>> {
|
|||
*
|
||||
* <p>It's an optional parameter. If it is provided, the {@link #executor(Executor)} would still
|
||||
* run necessary tasks before the {@link ServerCallExecutorSupplier} is ready to be called, then
|
||||
* it switches over.
|
||||
*
|
||||
* <p>If it is provided, {@link #directExecutor()} optimization is disabled. But if calling
|
||||
* {@link ServerCallExecutorSupplier} returns null, the server call is still handled by the
|
||||
* default {@link #executor(Executor)} as a fallback.
|
||||
* it switches over. But if calling {@link ServerCallExecutorSupplier} returns null, the server
|
||||
* call is still handled by the default {@link #executor(Executor)} as a fallback.
|
||||
*
|
||||
* @param executorSupplier the server call executor provider
|
||||
* @return this
|
||||
|
|
|
|||
Loading…
Reference in New Issue