|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.elvyx.engine.common.ThreadPoolWorker
public class ThreadPoolWorker
It is a thread worker pool
| Constructor Summary | |
|---|---|
ThreadPoolWorker(ObjectFIFO idleWorkers)
|
|
| Method Summary | |
|---|---|
int |
getId()
|
static int |
getNextWorkerID()
|
boolean |
isAlive()
|
void |
process(java.lang.Runnable target)
|
void |
stopRequest()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadPoolWorker(ObjectFIFO idleWorkers)
| Method Detail |
|---|
public int getId()
public static int getNextWorkerID()
public void process(java.lang.Runnable target)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void stopRequest()
public boolean isAlive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||