Package edu.rit.pj.cluster
Class ProcessInfo
java.lang.Object
edu.rit.pj.cluster.ProcessInfo
Class ProcessInfo provides a record of information about one job backend
process in the PJ cluster middleware.
- Version:
- 21-May-2008
- Author:
- Alan Kaminsky
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The state of a job backend process. -
Field Summary
Modifier and TypeFieldDescriptionReference to the job backend process.Lease expiration timer.Host/port to which the job backend process is listening for the frontend communicator, or null if the frontend communicator does not exist.Host/port to which the job backend process is listening for middleware messages.The job backend node's name.int
Number of CPUs assigned to the job backend process.int
The job backend process's rank.Lease renewal timer.The job backend process's state.Host/port to which the job backend process is listening for the world communicator. -
Constructor Summary
ConstructorDescriptionProcessInfo
(ProcessInfo.State state, String name, int rank, JobBackendRef backend, InetSocketAddress middlewareAddress, InetSocketAddress worldAddress, InetSocketAddress frontendAddress, Timer renewTimer, Timer expireTimer, int Nt) Construct a new job information record. -
Method Summary
-
Field Details
-
state
The job backend process's state. -
name
The job backend node's name. -
rank
public int rankThe job backend process's rank. -
backend
Reference to the job backend process. -
middlewareAddress
Host/port to which the job backend process is listening for middleware messages. -
worldAddress
Host/port to which the job backend process is listening for the world communicator. -
frontendAddress
Host/port to which the job backend process is listening for the frontend communicator, or null if the frontend communicator does not exist. -
renewTimer
Lease renewal timer. -
expireTimer
Lease expiration timer. -
Nt
public int NtNumber of CPUs assigned to the job backend process.
-
-
Constructor Details
-
ProcessInfo
public ProcessInfo(ProcessInfo.State state, String name, int rank, JobBackendRef backend, InetSocketAddress middlewareAddress, InetSocketAddress worldAddress, InetSocketAddress frontendAddress, Timer renewTimer, Timer expireTimer, int Nt) Construct a new job information record.- Parameters:
state
- The job backend process's state.name
- The job backend processor's name.rank
- The job backend process's rank.backend
- Reference to the job backend process.middlewareAddress
- Host/port to which the job backend process is listening for middleware messages.worldAddress
- Host/port to which the job backend process is listening for the world communicator.frontendAddress
- Host/port to which the job backend process is listening for the frontend communicator, or null if the frontend communicator does not exist.renewTimer
- Lease renewal timer.expireTimer
- Lease expiration timer.Nt
- Number of CPUs assigned to the job backend process.
-