|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.openorb.notify.queue.FifoOrderer
public class FifoOrderer
This orderer implements a Fifo ( First-in first-out mechanism ).
| 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. |
java.lang.Object |
pullEvent()
Invoked to pull an event from the queue. |
void |
pushEvent(java.lang.Object event,
java.lang.Short priorityKey,
java.lang.Long timeoutKey)
Invoked to push an event into the queue with respect to order. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FifoOrderer()
public FifoOrderer(int initialCapacity)
| Method Detail |
|---|
public void pushEvent(java.lang.Object event,
java.lang.Short priorityKey,
java.lang.Long timeoutKey)
pushEvent in interface OrdererpriorityKey - not usedtimeoutKey - not usedpublic java.lang.Object pullEvent()
pullEvent in interface Ordererpublic int getQueueSize()
getQueueSize in interface Orderer
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||