Class ShutdownRecorder

java.lang.Object
io.quarkus.runtime.shutdown.ShutdownRecorder

public class ShutdownRecorder extends Object
  • Constructor Details

    • ShutdownRecorder

      public ShutdownRecorder(RuntimeValue<ShutdownConfig> shutdownConfig)
      ShutdownRecorder is only called in RUNTIME_INIT build steps, so it is safe to set ShutdownConfig.
  • Method Details

    • setListeners

      public void setListeners(List<ShutdownListener> listeners, boolean delayEnabled)
    • runShutdown

      public static void runShutdown()