Uses of Interface
org.snmp4j.util.WorkerTask
Package
Description
Provides transport protocol mappings for SNMP.
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
-
Uses of WorkerTask in org.snmp4j.transport
Modifier and TypeClassDescriptionclass
AbstractTransportServerThread<A extends Address,
S extends AbstractSocketEntry<A>> TheAbstractTransportServerThread
is aWorkerTask
that serves server connections using Java NIO forConnectionOrientedTransportMapping
s.protected class
protected class
Modifier and TypeMethodDescriptionAbstractTransportMapping.getListenWorkerTask()
Gets theWorkerTask
that is responsible for receiving new messages.DummyTransport.DummyTransportResponder.getListenWorkerTask()
DummyTransport.getListenWorkerTask()
TLSTM.getListenWorkerTask()
-
Uses of WorkerTask in org.snmp4j.util
Modifier and TypeInterfaceDescriptioninterface
TheSchedulerTask
extends theRunnable
interface by methods that are needed for recurrent execution of a task.Modifier and TypeMethodDescriptionDefaultThreadFactory.createWorkerThread
(String name, WorkerTask task, boolean daemon) Creates a new thread of execution for the supplied task.ThreadFactory.createWorkerThread
(String name, WorkerTask task, boolean daemon) Creates a new thread of execution for the supplied task.Modifier and TypeMethodDescriptionDefaultThreadFactory.createWorkerThread
(String name, WorkerTask task, boolean daemon) Creates a new thread of execution for the supplied task.ThreadFactory.createWorkerThread
(String name, WorkerTask task, boolean daemon) Creates a new thread of execution for the supplied task.void
ThreadPool.execute
(WorkerTask task) Executes a task on behalf of this thread pool.void
ThreadPool.TaskManager.execute
(WorkerTask task) void
WorkerPool.execute
(WorkerTask task) Executes a task on behalf of this worker pool.protected void
ThreadPool.handleInterruptedExceptionOnExecute
(InterruptedException interruptedException, WorkerTask task) Handle a interrupted exception on the execution attempt ofWorkerTask
.boolean
ThreadPool.tryToExecute
(WorkerTask task) Tries to execute a task on behalf of this thread pool.boolean
WorkerPool.tryToExecute
(WorkerTask task) Tries to execute a task on behalf of this worker pool.