Package io.quarkus.runtime
Class ShutdownDelayInitiatedEvent
java.lang.Object
io.quarkus.runtime.ShutdownDelayInitiatedEvent
Event payload that is fired in a pre-shutdown phase if
quarkus.shutdown.delay-enabled=true.
This event is observed as follows:
The annotated method can access other injected beans.
void onPreShutdown(@Observes ShutdownDelayInitiatedEvent ev) {
LOGGER.info("The application is about to shutdown...");
}
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ShutdownDelayInitiatedEvent
public ShutdownDelayInitiatedEvent()
-