Class 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 a FutureCallback to indicate if shutdown is completed. By default the FutureCallback is returned as already completed, but the newShutdownCallback() method can be overloaded to return a non-completed callback that will require a Callback.succeeded() or Callback.failed(Throwable) call to be completed.
    • Constructor Detail

      • Shutdown

        public Shutdown()
        Deprecated.
    • Method Detail

      • shutdown

        public java.util.concurrent.Future<java.lang.Void> shutdown()
        Deprecated.
        Specified by:
        shutdown in interface Graceful
      • isShutdown

        public boolean isShutdown()
        Deprecated.
        Specified by:
        isShutdown in interface Graceful
      • cancel

        public void cancel()
        Deprecated.