public abstract class FilterServiceBase extends java.lang.Object implements FilterServiceSPI
Modifier and Type | Method and Description |
---|---|
void |
addFilterServiceListener(FilterServiceListener filterServiceListener)
Add activity listener.void acquireWriteLock();
|
void |
destroy()
Destroy the service.
|
int |
getCountTypes() |
int |
getFilterCountApprox() |
long |
getFiltersVersion()
Returns filter version.
|
long |
getNumEventsEvaluated()
Return a count of the number of events evaluated by this service.
|
void |
removeFilterServiceListener(FilterServiceListener filterServiceListener)
Remove activity listener.
|
void |
resetStats()
Reset the number of events evaluated
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acquireWriteLock, apply, releaseWriteLock, take
add, evaluate, evaluate, remove, removeType
public long getFiltersVersion()
FilterService
getFiltersVersion
in interface FilterService
public void destroy()
FilterService
destroy
in interface FilterService
public final long getNumEventsEvaluated()
FilterService
getNumEventsEvaluated
in interface FilterService
public void resetStats()
FilterService
resetStats
in interface FilterService
public void addFilterServiceListener(FilterServiceListener filterServiceListener)
FilterServiceSPI
addFilterServiceListener
in interface FilterServiceSPI
filterServiceListener
- to addpublic void removeFilterServiceListener(FilterServiceListener filterServiceListener)
FilterServiceSPI
removeFilterServiceListener
in interface FilterServiceSPI
filterServiceListener
- to removepublic int getFilterCountApprox()
getFilterCountApprox
in interface FilterServiceSPI
public int getCountTypes()
getCountTypes
in interface FilterServiceSPI