Package org.snmp4j.util
Interface WorkerTask
- All Superinterfaces:
 Runnable
- All Known Subinterfaces:
 SchedulerTask
- All Known Implementing Classes:
 DefaultTcpTransportMapping.ServerThread,DefaultThreadFactory.WorkerThread
This models a 
WorkerTask instance that would be executed by a
 WorkerPool upon submission.- Since:
 - 1.9
 - Version:
 - 1.9
 - Author:
 - Frank Fock
 
- 
Method Summary
 
- 
Method Details
- 
terminate
void terminate()TheWorkerPoolmight call this method to hint the activeWorkTaskinstance to complete execution as soon as possible. - 
join
Waits until this task has been finished.- Throws:
 InterruptedException- if the join has been interrupted by another thread.
 - 
interrupt
void interrupt()Interrupts this task.- See Also:
 
 
 -