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
UtilizationFilters.
With this class, window length and increment, that are used by UtilizationFilters to process their input, can be adapted by the user.- See Also:
-
Field Summary
FieldsFields inherited from class org.palladiosimulator.edp2.datastream.configurable.PropertyConfigurable
keys -
Constructor Summary
Constructors -
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.voidpropertyChanged(String key, Object oldValue, Object newValue) Methods inherited from class org.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable
getKeys, getPropertyType, propertyChangeCompleted, setPropertiesMethods inherited from class org.palladiosimulator.edp2.datastream.configurable.PropertyConfigurable
getAdapter, getNotSetConstant, getProperties, isPropertyNotSet, unsetPropertyMethods 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 theUtilizationFilterConfigurationclass.
-
-
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
Measuredenoting 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
Measuredenoting the default value of the property.
-
getWindowIncrement
Gets the current value of the window increment property.- Returns:
- A
Measuredenoting the value of the property.
-
getWindowLength
Gets the current value of the window length property.- Returns:
- A
Measuredenoting the value of the property.
-
getDefaultConfiguration
Gets the default configuration settings, that is default values for window length and window increment.- Specified by:
getDefaultConfigurationin interfaceorg.palladiosimulator.edp2.datastream.configurable.IPropertyConfigurable- Overrides:
getDefaultConfigurationin classorg.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable- Returns:
- A
Mapcontaining the default values of the window length and window increment properties.
-
propertyChanged
- Specified by:
propertyChangedin interfaceorg.palladiosimulator.edp2.datastream.configurable.IPropertyListener- Overrides:
propertyChangedin classorg.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable
-