[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Interface for filtering events by event type and event property values. Allows adding and removing filters.
Filters are defined by a net.esper.filter.FilterSpec and are associated with a net.esper.filter.FilterCallback callback. Implementations may decide if the same filter callback can be registered twice for different or some filter specifications.
The performance of an implementation of this service is crucial in achieving a high overall event throughput.
The following tables list the members exposed by the FilterService type.
Public Methods
Name | Description | |
---|---|---|
![]() | Add | Add a filter for events as defined by the filter specification, and register a
callback to be invoked upon evaluation of an event that matches the filter spec.
|
![]() | Evaluate | Finds matching filters to the event passed in and invokes their associated callback method. |
![]() | Remove | Remove a filter callback. |