Enum SimulationStateEvent.Type

java.lang.Object
java.lang.Enum<SimulationStateEvent.Type>
org.bzdev.devqsim.SimulationStateEvent.Type
All Implemented Interfaces:
Serializable, Comparable<SimulationStateEvent.Type>
Enclosing class:
SimulationStateEvent

public static enum SimulationStateEvent.Type extends Enum<SimulationStateEvent.Type>
The type of the simulation state event.
  • Enum Constant Details

    • SIM_START

      public static final SimulationStateEvent.Type SIM_START
      One of a simulation's 'run' methods has been called
    • SIM_STOP

      public static final SimulationStateEvent.Type SIM_STOP
      A simulation 'run' method has returned
    • CALL_START

      public static final SimulationStateEvent.Type CALL_START
      A Callable's call method is starting to run.
    • CALL_END

      public static final SimulationStateEvent.Type CALL_END
      A Callable's call method has run to completion
    • TASK_START

      public static final SimulationStateEvent.Type TASK_START
      A task has started
    • TASK_PAUSE

      public static final SimulationStateEvent.Type TASK_PAUSE
      A task has paused.
    • TASK_RESUME

      public static final SimulationStateEvent.Type TASK_RESUME
      A task has resumed after a pause
    • TASK_END

      public static final SimulationStateEvent.Type TASK_END
      A task has completed.
    • TASKQUEUE_START

      public static final SimulationStateEvent.Type TASKQUEUE_START
      A task queue has started to process an entry.
    • TASKQUEUE_PAUSE

      public static final SimulationStateEvent.Type TASKQUEUE_PAUSE
      A task queue has paused while processing an entry.
    • TASKQUEUE_RESUME

      public static final SimulationStateEvent.Type TASKQUEUE_RESUME
      A task queue has resumed processing an entry.
    • TASKQUEUE_STOP

      public static final SimulationStateEvent.Type TASKQUEUE_STOP
      A task queue has completed processing an entry.
    • SERVER_SELECTED

      public static final SimulationStateEvent.Type SERVER_SELECTED
      A server has been selected by a service queue.
    • SQ_INTERACTION

      public static final SimulationStateEvent.Type SQ_INTERACTION
      A server is processing a request.
    • SQ_CALLABLE

      public static final SimulationStateEvent.Type 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

      public static final SimulationStateEvent.Type 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

      public static final SimulationStateEvent.Type 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

      public static SimulationStateEvent.Type[] 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

      public static SimulationStateEvent.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null