Package io.quarkus.runtime
Interface ShutdownContext
public interface ShutdownContext
A context that can be passed into runtime recorders that allows for shutdown tasks to be added.
Tasks are executed in the reverse order that they are added.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLastShutdownTask(Runnable runnable) voidaddShutdownTask(Runnable runnable)
-
Method Details
-
addShutdownTask
-
addLastShutdownTask
-