|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Orderer
An orderer orders events in a well defined manner.
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. |
Method Detail |
---|
void pushEvent(java.lang.Object event, java.lang.Short priorityKey, java.lang.Long timeoutKey)
java.lang.Object pullEvent()
int getQueueSize()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |