|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFeatures
Interface for an features.
Features gives access to feature sets, which is a way to mark events so they
can be filtered on later on.
Typically a feature set is implemented using a bit set on the underlying
event, which makes it it very cheap to check and filter out if it's been
marked.
It's however possible to implement IFeatureSet
using HashSet
or disk/database providers that wants to hold on to very large number of
events.
Method Summary | |
---|---|
IFeatureSet |
createFeature()
Creates a a IFeatureSet . |
void |
destroyFeaure(IFeatureSet featureSet)
Destroys a feature and all resources allocated for the IFeatureSet . |
java.util.List<IFeatureSet> |
getFeatures()
Returns a list of all the available features. |
Method Detail |
---|
java.util.List<IFeatureSet> getFeatures()
IFeatureSet createFeature()
IFeatureSet
. Users should destroy the
IFeatureSet
when they no longer needed it since the may allocate
resources.
void destroyFeaure(IFeatureSet featureSet)
IFeatureSet
.
featureSet
- the IFeatureSet
to destroy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |