Class UtilizationProbeFrameworkListenerDecorator
- java.lang.Object
-
- org.palladiosimulator.simulizar.interpreter.listener.AbstractRecordingProbeFrameworkListenerDecorator
-
- org.palladiosimulator.simulizar.utilization.probeframework.UtilizationProbeFrameworkListenerDecorator
-
public class UtilizationProbeFrameworkListenerDecorator extends AbstractRecordingProbeFrameworkListenerDecorator
Implementation of theAbstractRecordingProbeFrameworkListenerDecorator
class dedicated to initialize sliding-window based (i.e.,TimeDriven
) computations of utilization of active resources.
-
-
Constructor Summary
Constructors Constructor Description UtilizationProbeFrameworkListenerDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.palladiosimulator.recorderframework.config.IRecorderConfiguration
createRecorderConfiguration(de.uka.ipd.sdq.simucomframework.SimuComConfig config, Map<String,Object> recorderConfigMap)
Method to obtain anIRecorderConfiguration
used for the recording of the measurements.void
registerMeasurements()
Registers additional measurements to be observed/stored by the probe framework listener.
This method is called by theProbeFrameworkListener
in order to have additional measurements attached.void
setProbeFrameworkListener(AbstractProbeFrameworkListener probeFrameworkListener)
Injects the probe framework listener that is decorated by this class.-
Methods inherited from class org.palladiosimulator.simulizar.interpreter.listener.AbstractRecordingProbeFrameworkListenerDecorator
createRecorderConfigMapWithAcceptedMetricAndMeasuringPoint, getProbeFrameworkContext, getProbeFrameworkListener, initializeRecorder, instantiateRecorder, registerMeasurementsRecorder
-
-
-
-
Method Detail
-
registerMeasurements
public void registerMeasurements()
Description copied from class:AbstractRecordingProbeFrameworkListenerDecorator
Registers additional measurements to be observed/stored by the probe framework listener.
This method is called by theProbeFrameworkListener
in order to have additional measurements attached.- Overrides:
registerMeasurements
in classAbstractRecordingProbeFrameworkListenerDecorator
-
setProbeFrameworkListener
public void setProbeFrameworkListener(AbstractProbeFrameworkListener probeFrameworkListener)
Description copied from class:AbstractRecordingProbeFrameworkListenerDecorator
Injects the probe framework listener that is decorated by this class.- Overrides:
setProbeFrameworkListener
in classAbstractRecordingProbeFrameworkListenerDecorator
- Parameters:
probeFrameworkListener
- TheProbeFrameworkListener
used during the current simulation run.
-
createRecorderConfiguration
protected org.palladiosimulator.recorderframework.config.IRecorderConfiguration createRecorderConfiguration(de.uka.ipd.sdq.simucomframework.SimuComConfig config, Map<String,Object> recorderConfigMap)
Description copied from class:AbstractRecordingProbeFrameworkListenerDecorator
Method to obtain anIRecorderConfiguration
used for the recording of the measurements. This method is called withinAbstractRecordingProbeFrameworkListenerDecorator.initializeRecorder(Map)
to initialize the created recorder after it has been instantiated.- Overrides:
createRecorderConfiguration
in classAbstractRecordingProbeFrameworkListenerDecorator
- Parameters:
config
- TheSimuComConfig
which contains the configuration of the current simulation run.recorderConfigMap
- AMap
with the configuration attributes.- Returns:
- This default implementation returns the result of
config.getRecorderConfigurationFactory().createRecorderConfiguration(recorderConfigMap);
.
-
-