|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
An event queue is an object into which events are pushed and pulled. Pushing an event is adding an event to this queue, pulling an event is retrieving an event from this queue. Events in the queue can be either Untyped, Structured, StructuredSequence and Type events.
| Method Summary | |
int |
getQueueSize()
Return the current queue size |
boolean |
isEmpty()
Indicate if the event queue is empty |
java.lang.Object |
pullEvent()
Pull an event from the queue |
boolean |
pushEvent(java.lang.Object event)
Push an event into the queue |
boolean |
pushEvent(java.lang.Object event,
java.lang.Short priorityKey,
java.lang.Long deadlineKey)
Push an event into the queue |
void |
setOrderPolicy(int orderPolicy)
Set the event queue order policy |
| Method Detail |
public void setOrderPolicy(int orderPolicy)
public boolean pushEvent(java.lang.Object event)
public boolean pushEvent(java.lang.Object event,
java.lang.Short priorityKey,
java.lang.Long deadlineKey)
public java.lang.Object pullEvent()
public int getQueueSize()
public boolean isEmpty()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||