Class SimulationTimeReached
java.lang.Object
org.palladiosimulator.analyzer.slingshot.common.events.AbstractEvent
org.palladiosimulator.analyzer.slingshot.common.events.AbstractSimulationEvent
org.palladiosimulator.analyzer.slingshot.behavior.spd.data.SimulationTimeReached
- All Implemented Interfaces:
SpdBasedEvent
,org.palladiosimulator.analyzer.slingshot.common.events.DESEvent
,org.palladiosimulator.analyzer.slingshot.common.events.SlingshotEvent
public final class SimulationTimeReached
extends org.palladiosimulator.analyzer.slingshot.common.events.AbstractSimulationEvent
implements SpdBasedEvent
An event that is scheduled at an exact simulation time. In context of SPD,
this is needed especially for triggers with simulation time stimulus.
This event also carries a necessary target group (identifier) in order to
correctly identify whether this event belongs to the right scaling policy.
-
Constructor Summary
ConstructorsConstructorDescriptionSimulationTimeReached
(String targetGroupId, double simulationTime) SimulationTimeReached
(String targetGroupId, double simulationTime, double delay) Constructs a new simulation time reached event that is scheduled at exactlysimulationTime
and a possibly adelay
. -
Method Summary
Methods inherited from class org.palladiosimulator.analyzer.slingshot.common.events.AbstractSimulationEvent
delay, getName, setTime, time
Methods inherited from class org.palladiosimulator.analyzer.slingshot.common.events.AbstractEvent
getId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.palladiosimulator.analyzer.slingshot.common.events.DESEvent
delay, setTime, time
Methods inherited from interface org.palladiosimulator.analyzer.slingshot.common.events.SlingshotEvent
getId, getName
-
Constructor Details
-
SimulationTimeReached
Constructs a new simulation time reached event that is scheduled at exactlysimulationTime
and a possibly adelay
. The constructed event should then be scheduled AFTER the current simulation time. If the specified simulation time is in the past, an exception at the event bus might occur.- Parameters:
targetGroupId
- The target group identifier this event belongs to.simulationTime
- A positive number that specifies the exact simulation time that should be reached.delay
- A non-negative number specifying a delay after the simulation time.
-
SimulationTimeReached
-
-
Method Details
-
getTargetGroupId
-