public interface ThreadFactory
ThreadFactorydescribes a factory for threads of execution modeled as
WorkerTask createWorkerThread(String name, WorkerTask task, boolean daemon)
WorkerTaskis a symmetric wrapper for the supplied one. When the returned task is being run, the supplied one will be executed in a new thread of execution until it either terminates or the
WorkerTask.terminate()method has been called.
name- the name of the execution thread.
task- the task to be executed in the new thread.
daemon- indicates whether the new thread is a daemon (
trueor an user thread (
WorkerTaskwrapper to control start and termination of the thread.
Copyright © 2016 SNMP4J.org. All rights reserved.