Package org.eclipse.jetty.util.component
Class Graceful.Shutdown
- java.lang.Object
-
- org.eclipse.jetty.util.component.Graceful.Shutdown
-
- All Implemented Interfaces:
Graceful
- Enclosing interface:
- Graceful
@Deprecated(since="2021-05-27") public static class Graceful.Shutdown extends java.lang.Object implements Graceful
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.A utility Graceful that uses aFutureCallbackto indicate if shutdown is completed. By default theFutureCallbackis returned as already completed, but thenewShutdownCallback()method can be overloaded to return a non-completed callback that will require aCallback.succeeded()orCallback.failed(Throwable)call to be completed.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Graceful
Graceful.Shutdown
-
-
Constructor Summary
Constructors Constructor Description Shutdown()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcancel()Deprecated.FutureCallbackget()Deprecated.booleanisShutdown()Deprecated.java.util.concurrent.Future<java.lang.Void>shutdown()Deprecated.
-
-
-
Method Detail
-
shutdown
public java.util.concurrent.Future<java.lang.Void> shutdown()
Deprecated.
-
isShutdown
public boolean isShutdown()
Deprecated.- Specified by:
isShutdownin interfaceGraceful
-
cancel
public void cancel()
Deprecated.
-
get
public FutureCallback get()
Deprecated.
-
-