Package org.d_haven.event
Interface Summary |
DequeueInterceptor |
The dequeue executable interface describes operations that are
executed before and after elements are pulled from a queue.
|
EnqueuePredicate |
Enqueue predicates allow users to specify a method that will 'screen'
elements being enqueued onto a sink, either accepting or rejecting
them. |
EventHandler |
An EventHandler takes care of processing specific events
in an event-based architecture.
|
Pipe |
A Source implements the side of an event queue where QueueElements
are dequeued operations only.
|
PreparedEnqueue |
A PreparedEnqueue is an object returned from a
prepareEnqueue method that allows you to either commit
or abort the enqueue operation.
|
Sink |
A Sink implements the end of a finite-length event queue where
elements are enqueued. |
Source |
A Source implements the side of an event queue where QueueElements
are dequeued operations only.
|
Class Summary |
EnqueuePredicateFailedException |
If the EnqueuePredicate returns false, denying an event to the Sink,
the Sink will throw this exception.
|
SinkClosedException |
A SinkClosedException is thrown when an enqueue operation occurs on a
queue that is already closed.
|
SinkException |
A SourceException is thrown when an enqueue operation fails.
|
SinkFullException |
A SinkException is thrown when an enqueue operation occurs on a queue
that is already full.
|