Package org.jppf.node
Class ShutdownOrRestart
java.lang.Object
org.jppf.node.ShutdownOrRestart
- All Implemented Interfaces:
Runnable
Task used to terminate the JVM.
-
Constructor Summary
ConstructorsConstructorDescriptionShutdownOrRestart(boolean restart, boolean exit, NodeInternal node) Initialize this task. -
Method Summary
-
Constructor Details
-
ShutdownOrRestart
Initialize this task.- Parameters:
restart-trueif the node is to be restarted,falseto only shut it down.exit-trueto exit the JVM after shutdown,falseotherwise.node- this node.
-
-
Method Details