Package io.quarkus.runtime.logging
Class LoggingSetupRecorder.ShutdownNotifier
java.lang.Object
io.quarkus.runtime.logging.LoggingSetupRecorder.ShutdownNotifier
- All Implemented Interfaces:
ShutdownListener
- Enclosing class:
- LoggingSetupRecorder
public static class LoggingSetupRecorder.ShutdownNotifier
extends Object
implements ShutdownListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.runtime.shutdown.ShutdownListener
ShutdownListener.ShutdownNotification -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidshutdown(ShutdownListener.ShutdownNotification notification) The shutdown notification.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.runtime.shutdown.ShutdownListener
preShutdown
-
Field Details
-
shutdown
volatile boolean shutdown
-
-
Constructor Details
-
ShutdownNotifier
public ShutdownNotifier()
-
-
Method Details
-
shutdown
Description copied from interface:ShutdownListenerThe shutdown notification. The listener should start rejecting requests and wait for all existing ones to finish.- Specified by:
shutdownin interfaceShutdownListener- Parameters:
notification- The notification event
-