edu.rit.pj.cluster
Class BackendInfo

java.lang.Object
  extended by 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.


Nested Class Summary
static class BackendInfo.State
          The state of a backend node.
 
Field Summary
 String classpath
          The Java class path for the Parallel Java Library on the backend.
 String host
          The host name for SSH remote logins to the backend.
 JobInfo job
          The job that has reserved or is running on the backend.
 String jvm
          The full pathname for executing the Java Virtual Machine (JVM) on the backend.
 String[] jvmflags
          Array of command line flags for the JVM (zero or more).
 String name
          The backend's name.
 String shellCommand
          Shell command string on the backend.
 BackendInfo.State state
          The backend's state.
 long stateTime
          The time when the backend entered its current state (milliseconds since midnight 01-Jan-1970 GMT).
 int totalCpus
          The total number of CPUs in the backend.
 
Constructor Summary
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.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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 Detail

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.


Copyright © 2005-2012 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.