edu.rit.pj.cluster
Class BackendInfo
- java.lang.Object
-
- edu.rit.pj.cluster.BackendInfo
-
public class BackendInfo extends java.lang.ObjectClass BackendInfo provides a record of information about one backend node in the PJ cluster middleware.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classBackendInfo.StateThe state of a backend node.
-
Field Summary
Fields Modifier and Type Field and Description java.lang.StringclasspathThe Java class path for the Parallel Java Library on the backend.java.lang.StringhostThe host name for SSH remote logins to the backend.JobInfojobThe job that has reserved or is running on the backend.java.lang.StringjvmThe full pathname for executing the Java Virtual Machine (JVM) on the backend.java.lang.String[]jvmflagsArray of command line flags for the JVM (zero or more).java.lang.StringnameThe backend's name.BackendInfo.StatestateThe backend's state.longstateTimeThe time when the backend entered its current state (milliseconds since midnight 01-Jan-1970 GMT).inttotalCpusThe total number of CPUs in the backend.
-
Constructor Summary
Constructors Constructor and Description BackendInfo(java.lang.String name, int totalCpus, BackendInfo.State state, long stateTime, java.lang.String host, java.lang.String jvm, java.lang.String classpath, java.lang.String[] jvmflags)Construct a new backend information record.
-
-
-
Field Detail
-
name
public java.lang.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 java.lang.String host
The host name for SSH remote logins to the backend.
-
jvm
public java.lang.String jvm
The full pathname for executing the Java Virtual Machine (JVM) on the backend.
-
classpath
public java.lang.String classpath
The Java class path for the Parallel Java Library on the backend.
-
jvmflags
public java.lang.String[] jvmflags
Array of command line flags for the JVM (zero or more).
-
job
public JobInfo job
The job that has reserved or is running on the backend.
-
-
Constructor Detail
-
BackendInfo
public BackendInfo(java.lang.String name, int totalCpus, BackendInfo.State state, long stateTime, java.lang.String host, java.lang.String jvm, java.lang.String classpath, java.lang.String[] jvmflags)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).
-
-
DMelt 3.0 © DataMelt by jWork.ORG