|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.snmp4j.util.DefaultThreadFactory.WorkerThread
public class DefaultThreadFactory.WorkerThread
| Constructor Summary | |
|---|---|
DefaultThreadFactory.WorkerThread(java.lang.String name,
WorkerTask task)
|
|
| Method Summary | |
|---|---|
void |
interrupt()
Interrupts this task. |
void |
join()
Waits until this task has been finished. |
void |
run()
|
void |
terminate()
The WorkerPool might call this method to hint the active
WorkTask instance to complete execution as soon as possible. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultThreadFactory.WorkerThread(java.lang.String name,
WorkerTask task)
| Method Detail |
|---|
public void terminate()
WorkerTaskWorkerPool might call this method to hint the active
WorkTask instance to complete execution as soon as possible.
terminate in interface WorkerTask
public void join()
throws java.lang.InterruptedException
WorkerTask
join in interface WorkerTaskjava.lang.InterruptedExceptionpublic void run()
run in interface java.lang.Runnablepublic void interrupt()
WorkerTask
interrupt in interface WorkerTaskThread.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 | ||||||||