- All Implemented Interfaces:
Serializable
,Comparable<SimulationStateEvent.Type>
- Enclosing class:
- SimulationStateEvent
The type of the simulation state event.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA Callable's call method has run to completionA Callable's call method is starting to run.A server has been selected by a service queue.One of a simulation's 'run' methods has been calledA simulation 'run' method has returnedAfter any server interaction, a Callable described by a tag is being processed.A server is processing a request.After any server interaction, a Runnable described by a tag is being processed.After any server interaction, the task that was queued is restarted.A task has completed.A task has paused.A task has resumed after a pauseA task has startedA task queue has paused while processing an entry.A task queue has resumed processing an entry.A task queue has started to process an entry.A task queue has completed processing an entry. -
Method Summary
Modifier and TypeMethodDescriptionstatic SimulationStateEvent.Type
Returns the enum constant of this type with the specified name.static SimulationStateEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SIM_START
One of a simulation's 'run' methods has been called -
SIM_STOP
A simulation 'run' method has returned -
CALL_START
A Callable's call method is starting to run. -
CALL_END
A Callable's call method has run to completion -
TASK_START
A task has started -
TASK_PAUSE
A task has paused. -
TASK_RESUME
A task has resumed after a pause -
TASK_END
A task has completed. -
TASKQUEUE_START
A task queue has started to process an entry. -
TASKQUEUE_PAUSE
A task queue has paused while processing an entry. -
TASKQUEUE_RESUME
A task queue has resumed processing an entry. -
TASKQUEUE_STOP
A task queue has completed processing an entry. -
SERVER_SELECTED
A server has been selected by a service queue. -
SQ_INTERACTION
A server is processing a request. -
SQ_CALLABLE
After any server interaction, a Callable described by a tag is being processed. The Callable is no longer associated with the queue at this point. -
SQ_RUNNABLE
After any server interaction, a Runnable described by a tag is being processed. The Runnable is no longer associated with the queue at this point. -
SQ_TASK
After any server interaction, the task that was queued is restarted. The task is no longer associated with the queue at this point.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-