Class InterruptEscalator.ServiceForcedShutdown

java.lang.Object
org.apache.hadoop.service.launcher.InterruptEscalator.ServiceForcedShutdown
All Implemented Interfaces:
Runnable
Enclosing class:
InterruptEscalator

protected static class InterruptEscalator.ServiceForcedShutdown extends Object implements Runnable
Forced shutdown runnable.
  • Constructor Details

    • ServiceForcedShutdown

      public ServiceForcedShutdown(Service service, int shutdownTimeMillis)
  • Method Details

    • run

      public void run()
      Shutdown callback: stop the service and set an atomic boolean if it stopped within the shutdown time.
      Specified by:
      run in interface Runnable