|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamReuseService
Service on top of the filter service for reuseing filter callbacks and their associated EventStream instances. Same filter specifications (equal) do not need to be added to the filter service twice and the EventStream instance that is the stream of events for that filter can be reused.
Method Summary | |
---|---|
EventStream |
createStream(FilterSpec filterSpec,
FilterService filterService)
Create or reuse existing EventStream instance representing that event filter. |
void |
dropStream(FilterSpec filterSpec,
FilterService filterService)
Drop the event stream associated with the filter passed in. |
Method Detail |
---|
EventStream createStream(FilterSpec filterSpec, FilterService filterService)
filterSpec
- event filter definitionfilterService
- filter service to activate filter if not already active
void dropStream(FilterSpec filterSpec, FilterService filterService)
filterSpec
- is the event filter definition associated with the event stream to be droppedfilterService
- to be used to deactivate filter when the last event stream is dropped
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |