org.openorb.notify.queue
Interface Orderer
public
interface
Orderer
An orderer orders events in a well defined manner.
Author: Olivier Modica
Method Summary |
int | getQueueSize()
Get the current queue size. |
Object | pullEvent()
Invoked to pull an event from the queue. |
void | pushEvent(Object event, Short priorityKey, Long timeoutKey)
Invoked to push an event into the queue with respect to order. |
public int getQueueSize()
Get the current queue size.
public Object pullEvent()
Invoked to pull an event from the queue.
public void pushEvent(Object event, Short priorityKey, Long timeoutKey)
Invoked to push an event into the queue with respect to order.