|
SSJ V. 2.6. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.simprocs.UserRecord
public class 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.
Method Summary | |
---|---|
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 |
---|
public int getNumUnits()
public SimProcess getProcess()
public double getRequestTime()
|
SSJ V. 2.6. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |