Package edu.rit.pj.cluster
Class BackendInfo
java.lang.Object
edu.rit.pj.cluster.BackendInfo
Class BackendInfo provides a record of information about one backend node in
the PJ cluster middleware.
- Version:
- 20-Jun-2012
- Author:
- Alan Kaminsky
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionThe Java class path for the Parallel Java Library on the backend.The host name for SSH remote logins to the backend.The job that has reserved or is running on the backend.The full pathname for executing the Java Virtual Machine (JVM) on the backend.String[]
Array of command line flags for the JVM (zero or more).The backend's name.Shell command string on the backend.The backend's state.long
The time when the backend entered its current state (milliseconds since midnight 01-Jan-1970 GMT).int
The total number of CPUs in the backend. -
Constructor Summary
ConstructorDescriptionBackendInfo
(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. -
Method Summary
-
Field Details
-
name
The backend's name. -
totalCpus
public int totalCpusThe total number of CPUs in the backend. -
state
The backend's state. -
stateTime
public long stateTimeThe time when the backend entered its current state (milliseconds since midnight 01-Jan-1970 GMT). -
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 on the backend. -
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.
-