Top Description Methods
io.grpc

public Interface ServerCallExecutorSupplier

Annotations
@ExperimentalApi:https://github.com/grpc/grpc-java/issues/8274
Imports
java.util.concurrent.Executor, javax.annotation.Nullable

Defines what executor handles the server call, based on each RPC call information at runtime.

Method Summary

Modifier and TypeMethod and Description
public <ReqT, RespT> Executor
getExecutor(ServerCall<ReqT, RespT> call, Metadata metadata)

Returns an executor to handle the server call.

Method Detail

getExecutorback to summary
public <ReqT, RespT> Executor getExecutor(ServerCall<ReqT, RespT> call, Metadata metadata)

Returns an executor to handle the server call. It should never throw. It should return null to fallback to the default executor.

Annotations
@Nullable