public class DefaultShutdownHook extends ShutdownHookBase
Modifier and Type | Field and Description |
---|---|
static Duration |
DEFAULT_DELAY
Default delay before shutdown.
|
context
Constructor and Description |
---|
DefaultShutdownHook() |
Modifier and Type | Method and Description |
---|---|
Duration |
getDelay() |
void |
run() |
void |
setDelay(Duration delay)
The duration to wait before shutting down the current
logback context.
|
stop
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
public static final Duration DEFAULT_DELAY