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 TypeMethodDescriptionvoidonShutdown(Instant shutdownTime, Date deadline) Called when the server shutdown is initiated.
-
Method Details
-
onShutdown
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.
-