public interface WorkerTask extends Runnable
WorkerTaskinstance that would be executed by a
|Modifier and Type||Method and Description|
Interrupts this task.
Waits until this task has been finished.
WorkerPoolmight call this method to hint the active
WorkTaskinstance to complete execution as soon as possible.
void join() throws InterruptedException
InterruptedException- if the join has been interrupted by another thread.
Copyright © 2018 SNMP4J.org. All rights reserved.