org.openorb.notify.queue
public class FifoOrderer extends Object implements Orderer
Constructor Summary | |
---|---|
FifoOrderer()
Default constructor with an initial capacity of 10
and a capacity increment of 10 | |
FifoOrderer(int initialCapacity)
Constructor with a specified initial capacity. |
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: priorityKey not used timeoutKey not used