public class GrpcServerShutdownEvent extends GrpcServerLifecycleEvent
Server.shutdown()
,
Server.isShutdown()
,
Serialized Formsource
Constructor and Description |
---|
GrpcServerShutdownEvent(GrpcServerLifecycle lifecyle,
Clock clock,
io.grpc.Server server)
Creates a new GrpcServerShutdownEvent.
|
GrpcServerShutdownEvent(GrpcServerLifecycle lifecyle,
io.grpc.Server server)
Creates a new GrpcServerShutdownEvent.
|
getServer, getSource
getTimestamp
toString
public GrpcServerShutdownEvent(GrpcServerLifecycle lifecyle, Clock clock, io.grpc.Server server)
lifecyle
- The lifecycle that caused this event.clock
- The clock used to determine the timestamp.server
- The server related to this event.public GrpcServerShutdownEvent(GrpcServerLifecycle lifecyle, io.grpc.Server server)
lifecyle
- The lifecycle that caused this event.server
- The server related to this event.