public final class FilterParamIndexCompareString extends FilterParamIndexLookupableBase
Constructor and Description |
---|
FilterParamIndexCompareString(FilterSpecLookupable lookupable,
java.util.concurrent.locks.ReadWriteLock readWriteLock,
FilterOperator filterOperator) |
Modifier and Type | Method and Description |
---|---|
EventEvaluator |
get(java.lang.Object filterConstant)
Get the event evaluation instance associated with the constant.
|
java.util.concurrent.locks.ReadWriteLock |
getReadWriteLock()
Supplies the lock for protected access.
|
void |
matchEvent(EventBean theEvent,
java.util.Collection<FilterHandle> matches)
Perform the matching of an event based on the event property values,
adding any callbacks for matches found to the matches list.
|
void |
put(java.lang.Object filterConstant,
EventEvaluator matcher)
Store the event evaluation instance for the given constant.
|
boolean |
remove(java.lang.Object filterConstant)
Remove the event evaluation instance for the given constant.
|
int |
size()
Return the number of distinct filter parameter constants stored.
|
getLookupable, toString
getFilterOperator
public FilterParamIndexCompareString(FilterSpecLookupable lookupable, java.util.concurrent.locks.ReadWriteLock readWriteLock, FilterOperator filterOperator)
public final EventEvaluator get(java.lang.Object filterConstant)
FilterParamIndexLookupableBase
filterConstant
- is the constant supplied in the event filter parameterpublic final void put(java.lang.Object filterConstant, EventEvaluator matcher)
FilterParamIndexLookupableBase
filterConstant
- is the constant supplied in the filter parametermatcher
- to be stored for the constantpublic final boolean remove(java.lang.Object filterConstant)
FilterParamIndexLookupableBase
filterConstant
- is the value supplied in the filter paremeterpublic final int size()
FilterParamIndexLookupableBase
public final java.util.concurrent.locks.ReadWriteLock getReadWriteLock()
FilterParamIndexLookupableBase
public final void matchEvent(EventBean theEvent, java.util.Collection<FilterHandle> matches)
EventEvaluator
theEvent
- is the event object wrapper to obtain event property values frommatches
- accumulates the matching filter callbacks