MCPcopy Create free account
hub / github.com/grpc/grpc-java / callExecutor

Method callExecutor

api/src/main/java/io/grpc/ServerBuilder.java:93–96  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

thisTMethod · 0.95

Tested by

no test coverage detected