fix ServerBuilder callExecutor javadoc about direct executor (#8305)

This commit is contained in:
yifeizhuang 2021-07-08 13:57:14 -07:00 committed by GitHub
parent 22aa8fcef1
commit 6857d1b482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -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