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

Method shutdownNow

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

Initiates a forceful shutdown in which preexisting and new calls are rejected. Although forceful, the shutdown process is still not instantaneous; #isTerminated() will likely return false immediately after this method returns. After this call returns, this server has released the lis

()

Source from the content-addressed store, hash-verified

139 * @since 1.0.0
140 */
141 public abstract Server shutdownNow();
142
143 /**
144 * Returns whether the server is shutdown. Shutdown servers reject any new calls, but may still

Calls

no outgoing calls