Package org.jppf.node

Class ShutdownOrRestart

java.lang.Object
org.jppf.node.ShutdownOrRestart
All Implemented Interfaces:
Runnable

public class ShutdownOrRestart extends Object implements Runnable
Task used to terminate the JVM.
  • Constructor Details

    • ShutdownOrRestart

      public ShutdownOrRestart(boolean restart, boolean exit, NodeInternal node)
      Initialize this task.
      Parameters:
      restart - true if the node is to be restarted, false to only shut it down.
      exit - true to exit the JVM after shutdown, false otherwise.
      node - this node.
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable