[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Service for dispatching internally (for operators/views processing results of prior operators/views) and
externally (dispatch events to UpdateListener implementations).
The service accepts Dispatchable implementations to its internal and external lists.
When a client invokes dispatch the implementation first invokes all internal Dispatchable
instances then all external Dispatchable instances. Dispatchables are invoked
in the same order they are added. Any dispatchable added twice is dispatched once.
Note: Each execution thread owns its own dispatch queue.
Note: Dispatchs could result in further call to the dispatch service. This is because listener code
that is invoked as a result of a dispatch may create patterns that fire as soon as they are Started
resulting in further dispatches within the same thread. Thus the implementation class must be careful
with the use of iterators to avoid ConcurrentModificationException errors.
Namespace: net.esper.dispatch
Assembly:
NEsper (in NEsper.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Interface DispatchService |
C# |
---|
public interface DispatchService |
Visual C++ |
---|
public interface class DispatchService |