public class GrpcServerTerminatedEvent extends GrpcServerLifecycleEvent
Server.isTerminated()
,
Serialized Formsource
Constructor and Description |
---|
GrpcServerTerminatedEvent(GrpcServerLifecycle lifecyle,
Clock clock,
Server server)
Creates a new GrpcServerTerminatedEvent.
|
GrpcServerTerminatedEvent(GrpcServerLifecycle lifecyle,
Server server)
Creates a new GrpcServerTerminatedEvent.
|
getServer, getSource
getTimestamp
toString
public GrpcServerTerminatedEvent(GrpcServerLifecycle lifecyle, Clock clock, 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 GrpcServerTerminatedEvent(GrpcServerLifecycle lifecyle, Server server)
lifecyle
- The lifecycle that caused this event.server
- The server related to this event.