Class 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:
    UtilizationFilter
    • Constructor Detail

    • Method Detail

      • 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

        public javax.measure.Measure<Double,​javax.measure.quantity.Duration> getWindowIncrement()
        Gets the current value of the window increment property.
        Returns:
        A Measure denoting the value of the property.
      • getWindowLength

        public javax.measure.Measure<Double,​javax.measure.quantity.Duration> getWindowLength()
        Gets the current value of the window length property.
        Returns:
        A Measure denoting the value of the property.
      • getDefaultConfiguration

        public Map<String,​Object> getDefaultConfiguration()
        Gets the default configuration settings, that is default values for window length and window increment.
        Specified by:
        getDefaultConfiguration in interface org.palladiosimulator.edp2.datastream.configurable.IPropertyConfigurable
        Overrides:
        getDefaultConfiguration in class org.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable
        Returns:
        A Map containing the default values of the window length and window increment properties.
      • propertyChanged

        public void propertyChanged​(String key,
                                    Object oldValue,
                                    Object newValue)
        Specified by:
        propertyChanged in interface org.palladiosimulator.edp2.datastream.configurable.IPropertyListener
        Overrides:
        propertyChanged in class org.palladiosimulator.edp2.datastream.configurable.reflective.ReflectivePropertyConfigurable