public interface ShutdownContext
This class will be passed to
GracefulShutdownListener
instances registered against a Transport
.- Since:
- 2.3.5
-
Method Summary
Modifier and TypeMethodDescriptionvoid
ready()
Invoked by calledGracefulShutdownListener
to notify the graceful termination process that it's safe to terminate the transport.
-
Method Details
-
getTransport
Transport getTransport()- Returns:
- the Transport that is being shutdown.
-
ready
void ready()Invoked by calledGracefulShutdownListener
to notify the graceful termination process that it's safe to terminate the transport.
-