Class WarmupFilteredFactory
java.lang.Object
de.uka.ipd.sdq.sensorframework.filter.WarmupFilteredFactory
- All Implemented Interfaces:
IFilteredCollectionFactory
Deprecated.
Superseded by EDP2.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final long
Deprecated.Default warm up to use.protected Properties
Deprecated.The properties settings for this filtered collectionstatic final String
Deprecated.The property "warm up". -
Constructor Summary
ConstructorDescriptionDeprecated.Initializes a new WarmupFilteredFactory without properties. -
Method Summary
Modifier and TypeMethodDescriptionboolean
canFilter
(Collection<Measurement> filtrate, Number attribute) Deprecated.Check whether this filter factory can filter the given collection.convertToType
(String type) Deprecated.TODO add documentation heregetFilteredCollection
(Collection<Measurement> filtrate) Deprecated.Factory method.getFilteredCollection
(Collection<Measurement> filtrate, Number parameter) Deprecated.Factory method.Deprecated.Deprecated.Get the properties used to configure the filtervoid
setProperties
(Properties newProperties) Deprecated.Set the properties of this filter.
-
Field Details
-
filterProperties
Deprecated.The properties settings for this filtered collection -
WARMUP
Deprecated.The property "warm up".- See Also:
-
DEFAULT_WARMUP
public static final long DEFAULT_WARMUPDeprecated.Default warm up to use.- See Also:
-
-
Constructor Details
-
WarmupFilteredFactory
public WarmupFilteredFactory()Deprecated.Initializes a new WarmupFilteredFactory without properties.
-
-
Method Details
-
getFilteredCollection
Deprecated.Factory method. Creates a new filter with default parameter- Specified by:
getFilteredCollection
in interfaceIFilteredCollectionFactory
- Parameters:
filtrate
- The data source to filtering- Returns:
- A data adapter which adapts the given data source
-
getProperties
Deprecated.Get the properties used to configure the filter- Specified by:
getProperties
in interfaceIFilteredCollectionFactory
- Returns:
- This filters properties
-
setProperties
Deprecated.Set the properties of this filter. Properties can be used to control the filters's parameter.- Specified by:
setProperties
in interfaceIFilteredCollectionFactory
- Parameters:
newProperties
- The new properties to be used in this adapter
-
canFilter
Deprecated.Check whether this filter factory can filter the given collection.- Specified by:
canFilter
in interfaceIFilteredCollectionFactory
- Parameters:
filtrate
- The collection to filterattribute
- The object of the required input attribute- Returns:
- true if this factory can create filtered collection of the required type, false otherwise
-
getFilteredCollection
public AbstractMeasurementsCollection getFilteredCollection(Collection<Measurement> filtrate, Number parameter) Deprecated.Factory method. Creates a new filter of this factory's type- Specified by:
getFilteredCollection
in interfaceIFilteredCollectionFactory
- Parameters:
filtrate
- The data source to filtering- Returns:
- A data adapter which adapts the given data source
-
getFilterFactoryID
Deprecated.- Specified by:
getFilterFactoryID
in interfaceIFilteredCollectionFactory
- Returns:
- A unique id for this filter factory
-
convertToType
Deprecated.TODO add documentation here- Specified by:
convertToType
in interfaceIFilteredCollectionFactory
- Returns:
-