Class PeriodicallyTriggeredContainerEntity
- java.lang.Object
-
- de.uka.ipd.sdq.simulation.abstractsimengine.SimpleEventBasedSimEntity
-
- org.palladiosimulator.simulizar.simulationevents.PeriodicallyTriggeredSimulationEntity
-
- org.palladiosimulator.cost.modelobserver.PeriodicallyTriggeredContainerEntity
-
- All Implemented Interfaces:
de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
,org.palladiosimulator.commons.designpatterns.IAbstractObservable<IAbstractPeriodicContainerListener>
public class PeriodicallyTriggeredContainerEntity extends org.palladiosimulator.simulizar.simulationevents.PeriodicallyTriggeredSimulationEntity implements org.palladiosimulator.commons.designpatterns.IAbstractObservable<IAbstractPeriodicContainerListener>
An entity that can trigger periodic events with an attached container.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PeriodicallyTriggeredContainerEntity.Factory
-
Constructor Summary
Constructors Constructor Description PeriodicallyTriggeredContainerEntity(de.uka.ipd.sdq.simulation.abstractsimengine.ISimEngineFactory simFactory, de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationTimeProvider timeProvider, CostModel costModel, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addObserver(IAbstractPeriodicContainerListener observer)
void
removeObserver(IAbstractPeriodicContainerListener observer)
protected void
triggerInternal()
-
Methods inherited from class org.palladiosimulator.simulizar.simulationevents.PeriodicallyTriggeredSimulationEntity
entityRoutine, getSimulationTimeOfNextEventTrigger, setDelay, stopScheduling
-
-
-
-
Constructor Detail
-
PeriodicallyTriggeredContainerEntity
@AssistedInject public PeriodicallyTriggeredContainerEntity(de.uka.ipd.sdq.simulation.abstractsimengine.ISimEngineFactory simFactory, de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationTimeProvider timeProvider, CostModel costModel, @Assisted org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer)
-
-
Method Detail
-
triggerInternal
protected void triggerInternal()
- Specified by:
triggerInternal
in classorg.palladiosimulator.simulizar.simulationevents.PeriodicallyTriggeredSimulationEntity
-
addObserver
public void addObserver(IAbstractPeriodicContainerListener observer)
- Specified by:
addObserver
in interfaceorg.palladiosimulator.commons.designpatterns.IAbstractObservable<IAbstractPeriodicContainerListener>
-
removeObserver
public void removeObserver(IAbstractPeriodicContainerListener observer)
- Specified by:
removeObserver
in interfaceorg.palladiosimulator.commons.designpatterns.IAbstractObservable<IAbstractPeriodicContainerListener>
-
-