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