Package ch.qos.logback.core.hook
Class DelayingShutdownHook
- java.lang.Object
 - 
- ch.qos.logback.core.spi.ContextAwareBase
 - 
- ch.qos.logback.core.hook.ShutdownHookBase
 - 
- ch.qos.logback.core.hook.DelayingShutdownHook
 
 
 
 
- 
- All Implemented Interfaces:
 ShutdownHook,ContextAware,java.lang.Runnable
@Deprecated(since="2022-01-27") public class DelayingShutdownHook extends ShutdownHookBase
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.ShutdownHook implementation that stops the Logback context after a specified delay. The default delay is 0 ms (zero). 
- 
- 
Field Summary
Fields Modifier and Type Field Description static DurationDEFAULT_DELAYDeprecated.The default is no delay before shutdown. 
- 
Constructor Summary
Constructors Constructor Description DelayingShutdownHook()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DurationgetDelay()Deprecated.voidrun()Deprecated.voidsetDelay(Duration delay)Deprecated.The duration to wait before shutting down the current logback context.- 
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext 
- 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext 
 - 
 
 - 
 
- 
- 
Field Detail
- 
DEFAULT_DELAY
public static final Duration DEFAULT_DELAY
Deprecated.The default is no delay before shutdown. 
 - 
 
 -