Class UtilizationFilterConfiguration
java.lang.Object
org.palladiosimulator.commons.designpatterns.AbstractObservable<org.palladiosimulator.edp2.datastream.configurable.IPropertyListener>
org.palladiosimulator.edp2.datastream.configurable.PropertyConfigurable
org.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable
org.palladiosimulator.experimentanalysis.utilizationfilter.UtilizationFilterConfiguration
- All Implemented Interfaces:
IAdaptable
,org.palladiosimulator.commons.designpatterns.IAbstractObservable<org.palladiosimulator.edp2.datastream.configurable.IPropertyListener>
,org.palladiosimulator.edp2.datastream.configurable.IPropertyConfigurable
,org.palladiosimulator.edp2.datastream.configurable.IPropertyListener
public final class UtilizationFilterConfiguration
extends org.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable
This class contains properties to configure the behavior of
UtilizationFilter
s.
With this class, window length and increment, that are used by UtilizationFilter
s to process their input, can be adapted by the user.- See Also:
-
Field Summary
Fields inherited from class org.palladiosimulator.edp2.datastream.configurable.PropertyConfigurable
keys
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the default configuration settings, that is default values for window length and window increment.static javax.measure.Measure<Double,
javax.measure.quantity.Duration> Gets the default value of the window increment property.static javax.measure.Measure<Double,
javax.measure.quantity.Duration> Gets the default value of the window length property.javax.measure.Measure<Double,
javax.measure.quantity.Duration> Gets the current value of the window increment property.javax.measure.Measure<Double,
javax.measure.quantity.Duration> Gets the current value of the window length property.void
propertyChanged
(String key, Object oldValue, Object newValue) Methods inherited from class org.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable
getKeys, getPropertyType, propertyChangeCompleted, setProperties
Methods inherited from class org.palladiosimulator.edp2.datastream.configurable.PropertyConfigurable
getAdapter, getNotSetConstant, getProperties, isPropertyNotSet, unsetProperty
Methods inherited from class org.palladiosimulator.commons.designpatterns.AbstractObservable
addObserver, getEventDispatcher, getObservers, removeAllObserver, removeObserver
-
Field Details
-
WINDOW_LENGTH_KEY
- See Also:
-
WINDOW_INCREMENT_KEY
- See Also:
-
-
Constructor Details
-
UtilizationFilterConfiguration
public UtilizationFilterConfiguration()Initializes a new instance of theUtilizationFilterConfiguration
class.
-
-
Method Details
-
getDefaultWindowIncrement
public static javax.measure.Measure<Double,javax.measure.quantity.Duration> getDefaultWindowIncrement()Gets the default value of the window increment property.- Returns:
- A
Measure
denoting the default value of the property.
-
getDefaultWindowLength
public static javax.measure.Measure<Double,javax.measure.quantity.Duration> getDefaultWindowLength()Gets the default value of the window length property.- Returns:
- A
Measure
denoting the default value of the property.
-
getWindowIncrement
Gets the current value of the window increment property.- Returns:
- A
Measure
denoting the value of the property.
-
getWindowLength
Gets the current value of the window length property.- Returns:
- A
Measure
denoting the value of the property.
-
getDefaultConfiguration
Gets the default configuration settings, that is default values for window length and window increment.- Specified by:
getDefaultConfiguration
in interfaceorg.palladiosimulator.edp2.datastream.configurable.IPropertyConfigurable
- Overrides:
getDefaultConfiguration
in classorg.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable
- Returns:
- A
Map
containing the default values of the window length and window increment properties.
-
propertyChanged
- Specified by:
propertyChanged
in interfaceorg.palladiosimulator.edp2.datastream.configurable.IPropertyListener
- Overrides:
propertyChanged
in classorg.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable
-