Class GrpcServerTerminatedEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.grpc.server.lifecycle.GrpcServerLifecycleEvent
org.springframework.grpc.server.lifecycle.GrpcServerTerminatedEvent
All Implemented Interfaces:
Serializable

public class GrpcServerTerminatedEvent extends GrpcServerLifecycleEvent
This event will be fired after the server completed to shutdown. The server will no longer process requests.
Author:
Daniel Theuke ([email protected])
See Also:
  • Constructor Details

    • GrpcServerTerminatedEvent

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

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