Documentation of 'edu.rit.pj.cluster.JobInfo' Java class
JobInfo
edu.rit.pj.cluster

Class JobInfo



  • public class JobInfo
    extends java.lang.Object
    Class JobInfo provides a record of information about one job in a parallel computer in the PJ cluster middleware.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  JobInfo.State
      The state of a job.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      BackendInfo[] backend
      Array of backend nodes for each process assigned to the job in rank order.
      int count
      The number of processes that have been assigned to the job so far.
      int[] cpus
      Number of CPUs assigned to each process in the job in rank order.
      Timer expireTimer
      Lease expiration timer.
      JobFrontendRef frontend
      Reference to the job frontend process.
      int jobnum
      The job number.
      Timer jobTimer
      Maximum job time timer.
      int Nn
      The number of backend nodes in the job.
      int nodeCount
      The number of nodes that have been assigned to the job so far.
      int Np
      The number of processes in the job.
      int Nt
      The number of CPUs per process in the job.
      Timer renewTimer
      Lease renewal timer.
      JobInfo.State state
      The job's state.
      long stateTime
      The time when the job entered its current state (milliseconds since midnight 01-Jan-1970 GMT).
      java.lang.String username
      The job's user name.
    • Constructor Summary

      Constructors 
      Constructor and Description
      JobInfo(int jobnum, JobInfo.State state, long stateTime, java.lang.String username, int Nn, int Np, int Nt, int count, BackendInfo[] backend, int[] cpus, int nodeCount, JobFrontendRef frontend, Timer renewTimer, Timer expireTimer, Timer jobTimer)
      Construct a new job information record.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • jobnum

        public int jobnum
        The job number.
      • stateTime

        public long stateTime
        The time when the job entered its current state (milliseconds since midnight 01-Jan-1970 GMT).
      • username

        public java.lang.String username
        The job's user name.
      • Nn

        public int Nn
        The number of backend nodes in the job.
      • Np

        public int Np
        The number of processes in the job.
      • Nt

        public int Nt
        The number of CPUs per process in the job.
      • count

        public int count
        The number of processes that have been assigned to the job so far.
      • backend

        public BackendInfo[] backend
        Array of backend nodes for each process assigned to the job in rank order. The array has Np total elements. The first count elements have been assigned.
      • cpus

        public int[] cpus
        Number of CPUs assigned to each process in the job in rank order. The array has Np total elements. The first count elements have been assigned.
      • nodeCount

        public int nodeCount
        The number of nodes that have been assigned to the job so far.
      • frontend

        public JobFrontendRef frontend
        Reference to the job frontend process.
      • renewTimer

        public Timer renewTimer
        Lease renewal timer.
      • expireTimer

        public Timer expireTimer
        Lease expiration timer.
      • jobTimer

        public Timer jobTimer
        Maximum job time timer.
    • Constructor Detail

      • JobInfo

        public JobInfo(int jobnum,
                       JobInfo.State state,
                       long stateTime,
                       java.lang.String username,
                       int Nn,
                       int Np,
                       int Nt,
                       int count,
                       BackendInfo[] backend,
                       int[] cpus,
                       int nodeCount,
                       JobFrontendRef frontend,
                       Timer renewTimer,
                       Timer expireTimer,
                       Timer jobTimer)
        Construct a new job information record.
        Parameters:
        jobnum - The job number.
        state - The job's state.
        stateTime - The time when the job entered its current state.
        username - The job's user name.
        Nn - The number of backend nodes in the job.
        Np - The number of processes in the job.
        Nt - The number of CPUs per process in the job.
        count - The number of processes that have been assigned to the job so far.
        backend - Array of backends assigned to the job in rank order.
        cpus - Array of CPUs for each process in rank order.
        nodeCount - The number of nodes that have been assigned to the job so far.
        frontend - Reference to the job frontend process.
        renewTimer - Lease renewal timer.
        expireTimer - Lease expiration timer.
        jobTimer - Maximum job time timer.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.