code: public boolean cancelShutdown()
     {
        if (scheduledGraceful != null)
        {
           boolean result = scheduledGraceful.cancel(false);
  
           if (result)
           {
              shutdown.set(false);
  
              if (gracefulCallback != null)
                 gracefulCallback.cancel();
  
              if (pool != null)
                 pool.prefill();
  
              scheduledGraceful = null;
              gracefulCallback = null;
           }
           else
           {
              return false;
           }
        }
        else if (shutdown.get())
        {
           shutdown.set(false);
  
           if (gracefulCallback != null)
              gracefulCallback.cancel();
  
           if (pool != null)
              pool.prefill();
  
           gracefulCallback = null;
        }
        else
        {
           return false;
        }
  
        return true;
     }
docs: {@inheritDoc}