|
Jacson | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A source of threads for the ThreadPool
.
Method Summary | |
java.lang.Runnable |
getTask()
Return the next thing to do. |
boolean |
isStarted()
Have we started work yet? |
boolean |
isWorkLeft()
Is there more work to do. |
void |
waitStart()
Block a thread until we are started |
Method Detail |
public java.lang.Runnable getTask() throws java.lang.InterruptedException
java.lang.InterruptedException
- when the running task gets interrupted.public boolean isWorkLeft()
public boolean isStarted()
public void waitStart() throws java.lang.InterruptedException
java.lang.InterruptedException
- when the running task gets interrupted.
|
Spieleck | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |