Package jsl.modeling.resource
Class Request.RequestState
- java.lang.Object
-
- jsl.simulation.State
-
- jsl.modeling.resource.Request.RequestState
-
- All Implemented Interfaces:
StateAccessorIfc
,GetNameIfc
,IdentityIfc
- Direct Known Subclasses:
Request.AllocatedState
,Request.CanceledState
,Request.Completed
,Request.CreatedState
,Request.Preempted
,Request.PreparedState
,Request.RejectedState
,Request.WaitingState
- Enclosing class:
- Request
protected class Request.RequestState extends State
-
-
Field Summary
-
Fields inherited from class jsl.simulation.State
myCollectSojournStatisticsFlag, myEnteredTime, myExitedTime, myInStateIndicator, myName, myNumTimesEntered, myNumTimesExited, myStatistic, myTimeFirstEntered, myTotalStateTime
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RequestState(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
allocate(ResourceUnit unit, double time)
protected void
cancel(double time)
protected void
complete(double time)
protected void
dequeue(Queue<Request> queue, double time)
protected void
preempt(double time)
protected void
prepare(double time)
protected void
queue(Queue<Request> queue, double time)
protected void
reject(double time)
protected void
resume(double time)
-
Methods inherited from class jsl.simulation.State
enter, exit, getId, getName, getNumber, getNumberOfTimesEntered, getNumberOfTimesExited, getSojournTimeCollectionFlag, getSojournTimeStatistic, getTimeFirstEntered, getTimeStateEntered, getTimeStateExited, getTotalTimeInState, initialize, isEntered, onEnter, onExit, resetSojournTimeStatistics, resetStateCollection, setName, toString, turnOffSojournTimeCollection, turnOnSojournTimeCollection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jsl.simulation.StateAccessorIfc
getTimeInState
-
-
-
-
Method Detail
-
prepare
protected void prepare(double time)
-
reject
protected void reject(double time)
-
allocate
protected void allocate(ResourceUnit unit, double time)
-
cancel
protected void cancel(double time)
-
resume
protected void resume(double time)
-
preempt
protected void preempt(double time)
-
complete
protected void complete(double time)
-
-