DefaultApplicationLifecycle
Default implementation of the application lifecycle.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Add a stop hook to be called when the application stops.
Add a stop hook to be called when the application stops.
The stop hook should redeem the returned future when it is finished shutting down. It is acceptable to stop immediately and return a successful future.
Attributes
- Definition Classes
Call to shutdown the application.
Call to shutdown the application.
Attributes
- Returns
-
A future that will be redeemed once all hooks have executed.
- Definition Classes
Inherited methods
Add a stop hook to be called when the application stops.
Add a stop hook to be called when the application stops.
The stop hook should redeem the returned future when it is finished shutting down. It is acceptable to stop immediately and return a successful future.
Attributes
- Inherited from:
- ApplicationLifecycle
Attributes
- Returns
-
the Java version for this Application Lifecycle.
- Inherited from:
- ApplicationLifecycle