shutdownWithJvm
Registers a JVM shutdown hook that gracefully shuts down this gRPC Server.
Extension function on Server.
Parameters
maxWaitTime
the maximum duration to wait for in-flight RPCs to complete before forcing shutdown
Registers a JVM shutdown hook that gracefully shuts down this gRPC Server.
Extension function on Server.
the maximum duration to wait for in-flight RPCs to complete before forcing shutdown