Download SSJ User's Guide Package simprocs Process

Transcript
17
UserRecord
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.
package umontreal.iro.lecuyer.simprocs;
public class UserRecord
public int getNumUnits()
Returns the number of units requested or used by the associated process.
public AbstractSimProcess getProcess()
Returns the process object associated with this record.
public double getRequestTime()
Return the time of creation of this record.