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

Method withExecutor

stub/src/main/java/io/grpc/stub/AbstractStub.java:168–170  ·  view source on GitHub ↗

Returns a new stub with the given executor that is to be used instead of the default one specified with ManagedChannelBuilder#executor. Note that setting this option may not take effect for blocking calls. @since 1.8.0

(Executor executor)

Source from the content-addressed store, hash-verified

166 * @since 1.8.0
167 */
168 public final S withExecutor(Executor executor) {
169 return build(channel, callOptions.withExecutor(executor));
170 }
171
172 /**
173 * Set's the compressor name to use for the call. It is the responsibility of the application

Callers 2

blockingUnaryCallMethod · 0.45

Calls 1

buildMethod · 0.95

Tested by

no test coverage detected