Package io.quarkus.runtime.shutdown
Class ShutdownRecorder
java.lang.Object
io.quarkus.runtime.shutdown.ShutdownRecorder
-
Constructor Summary
ConstructorsConstructorDescriptionShutdownRecorder(RuntimeValue<ShutdownConfig> shutdownConfig) ShutdownRecorder is only called inRUNTIME_INITbuild steps, so it is safe to set ShutdownConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidsetListeners(List<ShutdownListener> listeners, boolean delayEnabled)
-
Constructor Details
-
ShutdownRecorder
ShutdownRecorder is only called inRUNTIME_INITbuild steps, so it is safe to set ShutdownConfig.
-
-
Method Details
-
setListeners
-
runShutdown
public static void runShutdown()
-