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