public class EventSelector extends java.lang.Object implements EventFilter
| Constructor and Description |
|---|
EventSelector(java.util.Map props) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
static java.lang.String |
coarseGrain(java.lang.String key,
java.util.List list)
It returns a Perl 5 pattern string on a specific key so that the
returned pattern string is the result of OR on all the neccessary
patterns in the pattern list.
|
boolean |
evaluate(long currentTime,
Event event)
returns true if the filter matching with the event or false otherwise
|
static java.lang.String |
expand(java.lang.String pattern,
java.lang.String def)
With given a default Perl 5 pattern string, it expands the pattern
so that the result pattern can be ORed with other patterns.
|
protected void |
finalize() |
public boolean evaluate(long currentTime,
Event event)
EventFilterevaluate in interface Filter<Event>evaluate in interface EventFilterpublic static java.lang.String coarseGrain(java.lang.String key,
java.util.List list)
public static java.lang.String expand(java.lang.String pattern,
java.lang.String def)
public void clear()
protected void finalize()
finalize in class java.lang.Object