|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.collection.ThreadWorkQueue
public class ThreadWorkQueue
Simple queue implementation based on a Linked List per thread. Objects can be added to the queue tail or queue head.
Constructor Summary | |
---|---|
ThreadWorkQueue()
|
Method Summary | |
---|---|
static void |
add(Object event)
Adds event to the end of the event queue. |
protected static void |
addFront(Object event)
Adds event to the front of the queue. |
static Object |
next()
Returns the next event to getSelectListEvents, or null if there are no more events. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadWorkQueue()
Method Detail |
---|
public static void add(Object event)
event
- to addprotected static void addFront(Object event)
event
- to addpublic static Object next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |