|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.view.stream.StreamReuseServiceImpl
public class StreamReuseServiceImpl
Service implementation to reuse event streams and existing filters using reference counting to remove filters when not used.
Constructor Summary | |
---|---|
StreamReuseServiceImpl()
Ctor. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamReuseServiceImpl()
Method Detail |
---|
public EventStream createStream(FilterSpec filterSpec, FilterService filterService)
StreamReuseService
createStream
in interface StreamReuseService
filterSpec
- event filter definitionfilterService
- filter service to activate filter if not already active
public void dropStream(FilterSpec filterSpec, FilterService filterService)
StreamReuseService
dropStream
in interface StreamReuseService
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 |