Uses of Interface
org.jgroups.util.ThreadFactory
Packages that use ThreadFactory
Package
Description
Provides building blocks that are layered on top of channels.
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
Support for managing protocol stacks.
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 ThreadFactoryMethods in org.jgroups.blocks with parameters of type ThreadFactoryModifier and TypeMethodDescriptionvoid
BasicConnectionTable.setThreadFactory
(ThreadFactory factory) -
Uses of ThreadFactory in org.jgroups.protocols
Fields in org.jgroups.protocols declared as ThreadFactoryModifier and TypeFieldDescriptionprotected ThreadFactory
Used by all threads created by JGroups outside of the thread poolsprotected ThreadFactory
Methods in org.jgroups.protocols that return ThreadFactoryMethods in org.jgroups.protocols with parameters of type ThreadFactoryModifier and TypeMethodDescriptionprotected static ExecutorService
TP.createThreadPool
(int min_threads, int max_threads, long keep_alive_time, String rejection_policy, BlockingQueue<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 ThreadFactoryMethods in org.jgroups.stack that return ThreadFactoryModifier and TypeMethodDescriptionGossipRouter.getDefaultThreadPoolThreadFactory()
Protocol.getThreadFactory()
Supposed to be overwritten by subclasses.ProtocolStack.getThreadFactory()
Deprecated.static ThreadFactory
ProtocolStack.getTimerThreadFactory()
Deprecated.Methods in org.jgroups.stack with parameters of type ThreadFactoryModifier and TypeMethodDescriptionprotected ExecutorService
GossipRouter.createThreadPool
(int min_threads, int max_threads, long keep_alive_time, String rejection_policy, BlockingQueue<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 ThreadFactoryModifier and TypeClassDescriptionclass
Thread factory mainly responsible for naming of threads.class
Lazily names threads: whenever the address or cluster name is changed, all threads are renamedConstructors in org.jgroups.util with parameters of type ThreadFactoryModifierConstructorDescriptionTimeScheduler
(ThreadFactory factory) TimeScheduler
(ThreadFactory factory, int max_threads)
Protocol.getThreadFactory()
instead