org.openorb.notify.queue
Class LoggedSupplierProxyQueue
java.lang.Object
|
+--org.openorb.notify.queue.DefaultEventQueue
|
+--org.openorb.notify.queue.SupplierProxyQueue
|
+--org.openorb.notify.queue.LoggedSupplierProxyQueue
- All Implemented Interfaces:
- EventQueue, FilterableEventQueue
- public class LoggedSupplierProxyQueue
- extends SupplierProxyQueue
An event queue is an object into which events are pushed and pulled.
Pushing an event is adding an event to this queue, pulling an event
is retrieving an event from this queue.
Events in the queue can be either Untyped, Structured, StructuredSequence
and Type events.
The filtrable event queue adds support for filters and is able to decide
if an event must be enqueued or discarded.
The persistent event queue adds support for persistence. Upon receiving an
event, it will be saved persistently until the event channel aggregate it has
been received by all consumers.
The SupplierPersistentEventQueue differs from the PersistentEventQueue as upon
the pull operation it returns an event object Structure, Any, Types ) and not a Pid.
- Author:
- Olivier Modica
|
Constructor Summary |
LoggedSupplierProxyQueue(java.lang.String id,
int orderPolicy,
boolean isPersistent,
boolean isEventsLogged,
boolean isFiltersEvaluationLogged,
org.apache.avalon.framework.logger.Logger logger)
Constructor with specified order policy |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggedSupplierProxyQueue
public LoggedSupplierProxyQueue(java.lang.String id,
int orderPolicy,
boolean isPersistent,
boolean isEventsLogged,
boolean isFiltersEvaluationLogged,
org.apache.avalon.framework.logger.Logger logger)
- Constructor with specified order policy