Uses of Interface
org.jgroups.util.ThreadFactory
-
Packages that use ThreadFactory Package Description org.jgroups.blocks Provides building blocks that are layered on top of channels.org.jgroups.protocols Provides implementations of transport protocols which are responsible for sending and receiving messages to/from the network.org.jgroups.stack Support for managing protocol stacks.org.jgroups.util Provides useful functionality which cannot be assigned to any particular other package. -
-
Uses of ThreadFactory in org.jgroups.blocks
Methods in org.jgroups.blocks that return ThreadFactory Modifier and Type Method Description ThreadFactory
BasicConnectionTable. getThreadFactory()
Methods in org.jgroups.blocks with parameters of type ThreadFactory Modifier and Type Method Description void
BasicConnectionTable. setThreadFactory(ThreadFactory factory)
-
Uses of ThreadFactory in org.jgroups.protocols
Fields in org.jgroups.protocols declared as ThreadFactory Modifier and Type Field Description protected ThreadFactory
TP. global_thread_factory
Used by all threads created by JGroups outside of the thread poolsprotected ThreadFactory
TP. timer_thread_factory
Methods in org.jgroups.protocols that return ThreadFactory Modifier and Type Method Description ThreadFactory
TP. getDefaultThreadPoolThreadFactory()
ThreadFactory
TP. getOOBThreadPoolThreadFactory()
ThreadFactory
TP. getThreadFactory()
ThreadFactory
TP.ProtocolAdapter. getThreadFactory()
ThreadFactory
TP. getTimerThreadFactory()
Methods in org.jgroups.protocols with parameters of type ThreadFactory Modifier and Type Method Description protected static java.util.concurrent.ExecutorService
TP. createThreadPool(int min_threads, int max_threads, long keep_alive_time, java.lang.String rejection_policy, java.util.concurrent.BlockingQueue<java.lang.Runnable> queue, ThreadFactory factory)
void
TP. setDefaultThreadPoolThreadFactory(ThreadFactory factory)
void
TP. setOOBThreadPoolThreadFactory(ThreadFactory factory)
void
TP. setThreadFactory(ThreadFactory factory)
void
TP. setTimerThreadFactory(ThreadFactory factory)
-
Uses of ThreadFactory in org.jgroups.stack
Fields in org.jgroups.stack declared as ThreadFactory Modifier and Type Field Description protected ThreadFactory
GossipRouter. default_thread_factory
Methods in org.jgroups.stack that return ThreadFactory Modifier and Type Method Description ThreadFactory
GossipRouter. getDefaultThreadPoolThreadFactory()
ThreadFactory
Protocol. getThreadFactory()
Supposed to be overwritten by subclasses.ThreadFactory
ProtocolStack. getThreadFactory()
Deprecated.UseProtocol.getThreadFactory()
insteadstatic ThreadFactory
ProtocolStack. getTimerThreadFactory()
Deprecated.Methods in org.jgroups.stack with parameters of type ThreadFactory Modifier and Type Method Description protected java.util.concurrent.ExecutorService
GossipRouter. createThreadPool(int min_threads, int max_threads, long keep_alive_time, java.lang.String rejection_policy, java.util.concurrent.BlockingQueue<java.lang.Runnable> queue, ThreadFactory factory)
void
GossipRouter. setDefaultThreadPoolThreadFactory(ThreadFactory factory)
void
ProtocolStack. setThreadFactory(ThreadFactory f)
Deprecated.UseProtocol.getThreadFactory()
insteadstatic void
ProtocolStack. setTimerThreadFactory(ThreadFactory f)
Deprecated. -
Uses of ThreadFactory in org.jgroups.util
Classes in org.jgroups.util that implement ThreadFactory Modifier and Type Class Description class
DefaultThreadFactory
Thread factory mainly responsible for naming of threads.class
LazyThreadFactory
Lazily names threads: whenever the address or cluster name is changed, all threads are renamedConstructors in org.jgroups.util with parameters of type ThreadFactory Constructor Description TimeScheduler(ThreadFactory factory)
TimeScheduler(ThreadFactory factory, int max_threads)
-