public interface ApplicationLifecycle
Modifier and Type | Method and Description |
---|---|
void |
addStopHook(java.util.concurrent.Callable<? extends java.util.concurrent.CompletionStage<?>> hook)
Add a stop hook to be called when the application stops.
|
void addStopHook(java.util.concurrent.Callable<? extends java.util.concurrent.CompletionStage<?>> hook)