Class Graceful.Shutdown

java.lang.Object
org.eclipse.jetty.util.component.Graceful.Shutdown
All Implemented Interfaces:
Graceful
Enclosing interface:
Graceful

public abstract static class Graceful.Shutdown extends Object implements Graceful
A utility class to assist implementing the Graceful interface. The isShutdownDone() method should be implemented to check if the CompletableFuture returned by shutdown() should be completed or not. The check() method should be called when any state is changed which may complete the shutdown.