Interface ShutdownContext


public interface ShutdownContext
This class will be passed to GracefulShutdownListener instances registered against a Transport.
Since:
2.3.5
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    Invoked by called GracefulShutdownListener 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 called GracefulShutdownListener to notify the graceful termination process that it's safe to terminate the transport.