Class DelayingShutdownHook

All Implemented Interfaces:
ShutdownHook, ContextAware, 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 Details

    • DEFAULT_DELAY

      public static final Duration DEFAULT_DELAY
      Deprecated.
      The default is no delay before shutdown.
  • Constructor Details

    • DelayingShutdownHook

      public DelayingShutdownHook()
      Deprecated.
  • Method Details

    • getDelay

      public Duration getDelay()
      Deprecated.
    • setDelay

      public void setDelay(Duration delay)
      Deprecated.
      The duration to wait before shutting down the current logback context.
      Parameters:
      delay -
    • run

      public void run()
      Deprecated.