Class ProcessCommands

java.lang.Object
org.jppf.process.ProcessCommands

public final class ProcessCommands extends Object
This class holds the constant for actions handled by a LauncherListenerProtocolHandler.
Since:
5.0
Author:
Laurent Cohen
  • Field Details

    • RESTART_INTERRUPT

      public static final int RESTART_INTERRUPT
      Request a restart with interruptIfRunning = true.
      See Also:
    • RESTART_NO_INTERRUPT

      public static final int RESTART_NO_INTERRUPT
      Request a restart with interruptIfRunning = false.
      See Also:
    • SHUTDOWN_INTERRUPT

      public static final int SHUTDOWN_INTERRUPT
      Request a shutdown with interruptIfRunning = true.
      See Also:
    • SHUTDOWN_NO_INTERRUPT

      public static final int SHUTDOWN_NO_INTERRUPT
      Request a shutdown with interruptIfRunning = false.
      See Also:
  • Method Details

    • getCommandName

      public static String getCommandName(int command)
      Get the name associated with a command code.
      Parameters:
      command - the command code to lookup.
      Returns:
      a related name.