|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WorkerTask
This models a WorkerTask instance that would be executed by a
WorkerPool upon submission.
| Method Summary | |
|---|---|
void |
interrupt()
Interrupts this task. |
void |
join()
Waits until this task has been finished. |
void |
terminate()
The WorkerPool might call this method to hint the active
WorkTask instance to complete execution as soon as possible. |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Method Detail |
|---|
void terminate()
WorkerPool might call this method to hint the active
WorkTask instance to complete execution as soon as possible.
void join()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionvoid interrupt()
Thread.interrupt()
|
Copyright 2005-2011 Frank Fock (SNMP4J.org) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||