Class GrpcServerShutdownEvent

All Implemented Interfaces:
Serializable

public class GrpcServerShutdownEvent extends GrpcServerLifecycleEvent
This event will be fired before the server starts to shutdown. The server will no longer process new requests.
See Also:
  • Constructor Details

    • GrpcServerShutdownEvent

      public GrpcServerShutdownEvent(GrpcServerLifecycle lifecyle, Clock clock, Server server)
      Creates a new GrpcServerShutdownEvent.
      Parameters:
      lifecyle - The lifecycle that caused this event.
      clock - The clock used to determine the timestamp.
      server - The server related to this event.
    • GrpcServerShutdownEvent

      public GrpcServerShutdownEvent(GrpcServerLifecycle lifecyle, Server server)
      Creates a new GrpcServerShutdownEvent.
      Parameters:
      lifecyle - The lifecycle that caused this event.
      server - The server related to this event.