Class BackendInfo

java.lang.Object
edu.rit.pj.cluster.BackendInfo

public class BackendInfo extends Object
Class BackendInfo provides a record of information about one backend node in the PJ cluster middleware.
Version:
20-Jun-2012
Author:
Alan Kaminsky
  • Field Details

    • name

      public String name
      The backend's name.
    • totalCpus

      public int totalCpus
      The total number of CPUs in the backend.
    • state

      public BackendInfo.State state
      The backend's state.
    • stateTime

      public long stateTime
      The time when the backend entered its current state (milliseconds since midnight 01-Jan-1970 GMT).
    • host

      public String host
      The host name for SSH remote logins to the backend.
    • jvm

      public String jvm
      The full pathname for executing the Java Virtual Machine (JVM) on the backend.
    • classpath

      public String classpath
      The Java class path for the Parallel Java Library on the backend.
    • jvmflags

      public String[] jvmflags
      Array of command line flags for the JVM (zero or more).
    • shellCommand

      public String shellCommand
      Shell command string on the backend.
    • job

      public JobInfo job
      The job that has reserved or is running on the backend.
  • Constructor Details

    • BackendInfo

      public BackendInfo(String name, int totalCpus, BackendInfo.State state, long stateTime, String host, String jvm, String classpath, String[] jvmflags, String shellCommand)
      Construct a new backend information record.
      Parameters:
      name - The backend's name.
      totalCpus - The total number of CPUs in the backend.
      state - The backend's state.
      stateTime - The time when the backend entered its current state.
      host - The host name for SSH remote logins to the backend.
      jvm - The full pathname for executing the Java Virtual Machine (JVM) on the backend.
      classpath - The Java class path for the Parallel Java Library on the backend.
      jvmflags - Array of command line flags for the JVM (zero or more).
      shellCommand - Shell command string.