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

Method executor

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

Provides a custom executor. It's an optional parameter. If the user has not provided an executor when the server is built, the builder will use a static cached thread pool. The server won't take ownership of the given executor. It's caller's responsibility to shut down the executor when it's

(@Nullable Executor executor)

Source from the content-addressed store, hash-verified

73 * @since 1.0.0
74 */
75 public abstract T executor(@Nullable Executor executor);
76
77
78 /**

Calls

no outgoing calls