|
|||||||||
| 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()
Interrupt this task. |
void |
join()
Wait 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 2003-2009 Frank Fock and Jochen Katz (SNMP4J.org) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||