Class SLOViolationEDP2DatasourceFilter
- java.lang.Object
-
- org.palladiosimulator.metricspec.metricentity.MetricEntity
-
- org.palladiosimulator.edp2.datastream.AbstractDataSource
-
- org.palladiosimulator.edp2.datastream.filter.AbstractAdapter
-
- org.palladiosimulator.edp2.datastream.filter.AbstractFilter
-
- org.palladiosimulator.servicelevelobjective.edp2.filters.SLOViolationEDP2DatasourceFilter
-
- All Implemented Interfaces:
IAdaptable
,IPersistable
,IPersistableElement
,org.palladiosimulator.commons.designpatterns.IAbstractObservable<org.palladiosimulator.edp2.datastream.IDataSourceListener>
,org.palladiosimulator.edp2.datastream.configurable.IPropertyConfigurable
,org.palladiosimulator.edp2.datastream.filter.IFilter
,org.palladiosimulator.edp2.datastream.IDataSink
,org.palladiosimulator.edp2.datastream.IDataSource
,org.palladiosimulator.metricspec.metricentity.IMetricEntity
public class SLOViolationEDP2DatasourceFilter extends org.palladiosimulator.edp2.datastream.filter.AbstractFilter implements IPersistable, IPersistableElement
-
-
Constructor Summary
Constructors Constructor Description SLOViolationEDP2DatasourceFilter()
SLOViolationEDP2DatasourceFilter(org.palladiosimulator.edp2.datastream.IDataSource datasource)
SLOViolationEDP2DatasourceFilter(org.palladiosimulator.edp2.datastream.IDataSource datasource, org.palladiosimulator.metricspec.MetricDescription metricDescription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.palladiosimulator.edp2.datastream.configurable.PropertyConfigurable
createProperties()
String
getFactoryId()
void
saveState(IMemento memento)
protected boolean
shouldSkip(org.palladiosimulator.measurementframework.MeasuringValue measurement)
Determines whether an SLO violations occurred for the given SLO member variable and for the given measurement.-
Methods inherited from class org.palladiosimulator.edp2.datastream.filter.AbstractAdapter
computeOutputFromInput, getDataSource, getDataStream, getMeasuringPoint, setDataSource
-
Methods inherited from class org.palladiosimulator.edp2.datastream.AbstractDataSource
addObserver, getAdapter, getConfiguration, getDefaultConfiguration, getKeys, getProperties, getPropertyType, isPropertyNotSet, removeObserver, setProperties, unsetProperty
-
Methods inherited from class org.palladiosimulator.metricspec.metricentity.MetricEntity
getMetricDesciption, isCompatibleWith, setMetricDescription
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.palladiosimulator.commons.designpatterns.IAbstractObservable
addObserver, removeObserver
-
Methods inherited from interface org.palladiosimulator.edp2.datastream.IDataSink
getDataSource, setDataSource
-
-
-
-
Constructor Detail
-
SLOViolationEDP2DatasourceFilter
public SLOViolationEDP2DatasourceFilter()
-
SLOViolationEDP2DatasourceFilter
public SLOViolationEDP2DatasourceFilter(org.palladiosimulator.edp2.datastream.IDataSource datasource)
-
SLOViolationEDP2DatasourceFilter
public SLOViolationEDP2DatasourceFilter(org.palladiosimulator.edp2.datastream.IDataSource datasource, org.palladiosimulator.metricspec.MetricDescription metricDescription)
-
-
Method Detail
-
shouldSkip
protected boolean shouldSkip(org.palladiosimulator.measurementframework.MeasuringValue measurement)
Determines whether an SLO violations occurred for the given SLO member variable and for the given measurement. For instance, a response time tuple (10s, 5s) would be an SLO violation if the SLO specifies a threshold of 3s. TODO Matthias should enrich this method by fuzzy thresholds. [Lehrig]- Overrides:
shouldSkip
in classorg.palladiosimulator.edp2.datastream.filter.AbstractAdapter
-
getFactoryId
public String getFactoryId()
- Specified by:
getFactoryId
in interfaceIPersistableElement
-
saveState
public void saveState(IMemento memento)
- Specified by:
saveState
in interfaceIPersistable
-
createProperties
protected org.palladiosimulator.edp2.datastream.configurable.PropertyConfigurable createProperties()
- Overrides:
createProperties
in classorg.palladiosimulator.edp2.datastream.filter.AbstractAdapter
-
-