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 protectedRequestState(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidallocate(ResourceUnit unit, double time)protected voidcancel(double time)protected voidcomplete(double time)protected voiddequeue(Queue<Request> queue, double time)protected voidpreempt(double time)protected voidprepare(double time)protected voidqueue(Queue<Request> queue, double time)protected voidreject(double time)protected voidresume(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)
-
-