Documentation of 'umontreal.iro.lecuyer.simprocs.UserRecord' Java class
UserRecord
umontreal.iro.lecuyer.simprocs

Class UserRecord



  • public class UserRecord
    extends java.lang.Object
    This class represents a record object to store information related to the request of a process for a Resource or for Bin tokens, or when a process waits for a Condition. A UserRecord is created for each process request. The record contains the number of units requested or used, the associated process, and the simulation time when the request was made. Lists of processes waiting for a Resource, Bin, or Condition, for example, contain UserRecord objects.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getNumUnits()
      Returns the number of units requested or used by the associated process.
      SimProcess getProcess()
      Returns the process object associated with this record.
      double getRequestTime()
      Returns the time of creation of this record.
      • Methods inherited from class java.lang.Object

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

      • getNumUnits

        public int getNumUnits()
        Returns the number of units requested or used by the associated process.
        Returns:
        the number of requested or used units
      • getProcess

        public SimProcess getProcess()
        Returns the process object associated with this record.
        Returns:
        the process associated to this record
      • getRequestTime

        public double getRequestTime()
        Returns the time of creation of this record.
        Returns:
        the simulation time of the record creation

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.