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 TypeFieldDescriptionprotected WorkerTask
DefaultUdpTransportMapping.listener
protected WorkerTask
DefaultTcpTransportMapping.server
-
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
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.