Class ProcessInfo

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

public class ProcessInfo extends Object
Class ProcessInfo provides a record of information about one job backend process in the PJ cluster middleware.
Version:
21-May-2008
Author:
Alan Kaminsky
  • Field Details

    • state

      public ProcessInfo.State state
      The job backend process's state.
    • name

      public String name
      The job backend node's name.
    • rank

      public int rank
      The job backend process's rank.
    • backend

      public JobBackendRef backend
      Reference to the job backend process.
    • middlewareAddress

      public InetSocketAddress middlewareAddress
      Host/port to which the job backend process is listening for middleware messages.
    • worldAddress

      public InetSocketAddress worldAddress
      Host/port to which the job backend process is listening for the world communicator.
    • frontendAddress

      public InetSocketAddress 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

      public Timer renewTimer
      Lease renewal timer.
    • expireTimer

      public Timer expireTimer
      Lease expiration timer.
    • Nt

      public int Nt
      Number 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.