Package dev.voidframework.core.lifecycle
Annotation Interface LifeCycleStop
Indicates that the method should be called when the application is stopped.
- Since:
- 1.0.0
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDefines the configuration key for the time (duration or milliseconds) to shut down properly.intDefines priority when stopping.
-
Element Details
-
priority
int priorityDefines priority when stopping.- Returns:
- The priority
- Since:
- 1.0.0
- Default:
- 1000
-
gracefulStopTimeoutConfigKey
String gracefulStopTimeoutConfigKeyDefines the configuration key for the time (duration or milliseconds) to shut down properly.- Returns:
- The configuration key
- Since:
- 1.0.0
- Default:
- ""
-