code: public int getDelay()
     {
        if (scheduledGraceful != null)
           return (int)scheduledGraceful.getDelay(TimeUnit.SECONDS);
  
        if (shutdown.get())
           return Integer.MIN_VALUE;
        
        return Integer.MAX_VALUE;
     }
docs: {@inheritDoc}