Interface EventCallback
-
- All Known Implementing Classes:
BlobContainerManager
,DatasourceSessions
public interface EventCallback
Callback used to receive server startup and shutdown events
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
finalShutdown()
Called after all startShutdown() calls have been processed.void
serverReady()
Called after the server startup processing is done and all services are readyvoid
startShutdown()
Called at the start of shutdown.
-
-
-
Method Detail
-
serverReady
void serverReady()
Called after the server startup processing is done and all services are ready
-
startShutdown
void startShutdown()
Called at the start of shutdown. Must not block. This method is called for all registered EventCallback objects before finalShutdown() is called. Implementations may initiate, but not wait for, shutdown of the services they manage.
-
finalShutdown
void finalShutdown()
Called after all startShutdown() calls have been processed. Implementations should terminate internal services immediately at this point. Waiting for termination should be kept to a minimum, unless critical for stability.
-
-