Allows for defining a way to provide a custom executor to handle the server call. This executor is the result of calling ServerCallExecutorSupplier#getExecutor(ServerCall, Metadata) per RPC. It's an optional parameter. If it is provided, the #executor(Executor) would still run ne
(ServerCallExecutorSupplier executorSupplier)
| 91 | * |
| 92 | * */ |
| 93 | @ExperimentalApi("https://github.com/grpc/grpc-java/issues/8274") |
| 94 | public T callExecutor(ServerCallExecutorSupplier executorSupplier) { |
| 95 | return thisT(); |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * Adds a service implementation to the handler registry. |