Class UtilizationProbeFrameworkListenerDecorator
java.lang.Object
org.palladiosimulator.simulizar.interpreter.listener.AbstractRecordingProbeFrameworkListenerDecorator
org.palladiosimulator.simulizar.utilization.probeframework.UtilizationProbeFrameworkListenerDecorator
public class UtilizationProbeFrameworkListenerDecorator
extends AbstractRecordingProbeFrameworkListenerDecorator
Implementation of the
AbstractRecordingProbeFrameworkListenerDecorator
class dedicated to
initialize sliding-window based (i.e., TimeDriven
) computations of utilization of active
resources.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
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
-
Constructor Details
-
UtilizationProbeFrameworkListenerDecorator
public UtilizationProbeFrameworkListenerDecorator()
-
-
Method Details
-
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
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);
.
-