public class UserRecord
extends java.lang.Object
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.| 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.
|
public int getNumUnits()
public SimProcess getProcess()
public double getRequestTime()
To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.