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