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 Modifier and Type Interface Description static class
ShutdownContext.CloseRunnable
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addLastShutdownTask(Runnable runnable)
void
addShutdownTask(Runnable runnable)
-