Class ContainerCostProbe
java.lang.Object
org.palladiosimulator.probeframework.probes.Probe
org.palladiosimulator.probeframework.probes.EventProbe<EventSourceType>
org.palladiosimulator.probeframework.probes.BasicEventProbe<PeriodicallyTriggeredCostModelEntity,Double,org.jscience.economics.money.Money>
org.palladiosimulator.cost.modelobserver.ContainerCostProbe
- All Implemented Interfaces:
org.palladiosimulator.commons.designpatterns.IAbstractObservable<org.palladiosimulator.probeframework.probes.listener.IProbeListener>,IAbstractPeriodicContainerListener,org.palladiosimulator.metricspec.metricentity.IMetricEntity
public class ContainerCostProbe
extends org.palladiosimulator.probeframework.probes.BasicEventProbe<PeriodicallyTriggeredCostModelEntity,Double,org.jscience.economics.money.Money>
implements IAbstractPeriodicContainerListener
Probe for measuring the cost of a container.
-
Field Summary
Fields inherited from class org.palladiosimulator.probeframework.probes.EventProbe
eventSourceFields inherited from class org.palladiosimulator.probeframework.probes.Probe
metricEntityDelegate -
Constructor Summary
ConstructorsConstructorDescriptionContainerCostProbe(PeriodicallyTriggeredCostModelEntity triggeredContainerEntity) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidtriggerPeriodicUpdate(CostModel costModel, double timestamp, double delay) The method that is triggered periodically.Methods inherited from class org.palladiosimulator.probeframework.probes.BasicEventProbe
notifyMethods inherited from class org.palladiosimulator.probeframework.probes.Probe
addObserver, getMetricDesciption, isCompatibleWith, notifyMeasurementSourceListener, removeObserverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.palladiosimulator.metricspec.metricentity.IMetricEntity
getMetricDesciption, isCompatibleWith
-
Constructor Details
-
ContainerCostProbe
-
-
Method Details
-
registerListener
protected void registerListener()- Specified by:
registerListenerin classorg.palladiosimulator.probeframework.probes.EventProbe<PeriodicallyTriggeredCostModelEntity>
-
triggerPeriodicUpdate
Description copied from interface:IAbstractPeriodicContainerListenerThe method that is triggered periodically.- Specified by:
triggerPeriodicUpdatein interfaceIAbstractPeriodicContainerListener
-