|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.netseeker.ejoe.concurrent.ThreadQueue
Constructor Summary | |
ThreadQueue()
|
Method Summary | |
void |
add(java.lang.Runnable thread)
adds a new object to the end of the queue. |
java.lang.Runnable |
remove()
Removes the first object from the queue, blocking until one is available. |
int |
size()
Returns the current number of object in the queue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ThreadQueue()
Method Detail |
public int size()
public void add(java.lang.Runnable thread)
public java.lang.Runnable remove()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |