Interface ShutdownListener

All Known Implementing Classes:
WaitConditionShutdownListener

public interface ShutdownListener
A listener that is notified when the server begins shutting down.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onShutdown(Instant shutdownTime, Date deadline)
    Called when the server shutdown is initiated.
  • Method Details

    • onShutdown

      void onShutdown(Instant shutdownTime, Date deadline)
      Called when the server shutdown is initiated.
      Parameters:
      shutdownTime - The instant at which the shutdown was initiated.
      deadline - The absolute deadline by which this listener must return.