public interface StoppableService
ShutdownManager to receive shutdown notifications.| Modifier and Type | Method and Description |
|---|---|
default void |
preShutdown()
Called before the actual shutdown to alert the service to the fact that a shutdown has commenced.
|
void |
shutdown()
Called to request this service clean up any ongoing work and terminate.
|
void shutdown()
ShutdownManager.shutdown() for the shutdown sequence guaranteesdefault void preShutdown()
ShutdownManager.shutdown() for the shutdown sequence guaranteesCopyright © 2016. All rights reserved.