Uses of Class
com.amalgamasimulation.engine.Event

Packages that use Event
Package
Description
 
  • Uses of Event in com.amalgamasimulation.engine

    Modifier and Type
    Class
    Description
    class 
    Class representing an event that just stops the Engine, i.e.
    class 
    Represents an event that remembers stack trace of the point in code from where it was scheduled.
    Methods in com.amalgamasimulation.engine that return Event
    Modifier and Type
    Method
    Description
    Engine.execute(int sequence, Runnable runnable)
    If this engine is running, executes the action at current simulation time with the specified sequence.
    Engine.execute(Runnable runnable)
    If this engine is running, executes the action at current simulation time with maximum priority.
    Engine.scheduleAbsolute(double absoluteTime, int sequence, Runnable runnable)
    Schedules an event for execution at the specified absolute time with the specified priority
    Engine.scheduleAbsolute(double absoluteTime, Runnable runnable)
    Schedules an event for execution at the specified absolute time with the priority equal to 0
    Engine.scheduleRelative(double timeout, int sequence, Runnable runnable)
    Schedules an event for execution in the specified timeout from the current simulation time with the specified priority.
    Engine.scheduleRelative(double timeout, Runnable runnable)
    Schedules an event for execution in the specified timeout from the current simulation time with the priority equal to 0.
    Engine.scheduleStop(double absoluteTime, int sequence, String description)
    Schedules a stoppage of this engine at the specified absolute time with the specified priority
    Engine.scheduleStop(double absoluteTime, String description)
    Schedules a stoppage of this engine at the specified absolute time with the priority equal to 0
    Methods in com.amalgamasimulation.engine that return types with arguments of type Event
    Modifier and Type
    Method
    Description
    Engine.getEvents()
    Returns the unmodifiable list of events that are scheduled but not yet executed