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 TypeMethodDescriptionvoid
shutdown
(ShutdownListener.ShutdownNotification notification) The shutdown notification.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:ShutdownListener
The shutdown notification. The listener should start rejecting requests and wait for all existing ones to finish.- Specified by:
shutdown
in interfaceShutdownListener
- Parameters:
notification
- The notification event
-