Class Graceful.Shutdown

  • All Implemented Interfaces:
    Graceful
    Enclosing interface:
    Graceful

    public static class Graceful.Shutdown
    extends java.lang.Object
    implements Graceful
    • Constructor Detail

      • Shutdown

        public Shutdown()
    • Method Detail

      • newShutdownCallback

        protected FutureCallback newShutdownCallback()
      • shutdown

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

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

        public void cancel()