org.openorb.notify.queue
public class PriorityOrderer extends Object implements Orderer
Constructor Summary | |
---|---|
PriorityOrderer()
Default constructor. |
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. |
Parameters: timeoutKey not used