## 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

Fields in org.jgroups.blocks declared as ThreadFactory
Modifier and Type | Field and Description
--- | ---
`protected ThreadFactory` | AbstractConnectionMap.`factory`

Methods in org.jgroups.blocks that return ThreadFactory
Modifier and Type | Method and Description
--- | ---
`ThreadFactory` | BasicConnectionTable.`getThreadFactory()`
`ThreadFactory` | AbstractConnectionMap.`getThreadFactory()`

Methods in org.jgroups.blocks with parameters of type ThreadFactory
Modifier and Type | Method and Description
--- | ---
`void` | BasicConnectionTable.`setThreadFactory(ThreadFactory factory)`

Constructors in org.jgroups.blocks with parameters of type ThreadFactory
Constructor and Description
`AbstractConnectionMap(ThreadFactory factory)`
`AbstractConnectionMap(ThreadFactory factory, long reaperInterval)`
`TCPConnectionMap(java.lang.String service_name, ThreadFactory f, SocketFactory socket_factory, TCPConnectionMap.Receiver r, java.net.InetAddress bind_addr, java.net.InetAddress external_addr, int srv_port, int max_port)`
`TCPConnectionMap(java.lang.String service_name, ThreadFactory f, SocketFactory socket_factory, TCPConnectionMap.Receiver r, java.net.InetAddress bind_addr, java.net.InetAddress external_addr, int srv_port, int max_port, long reaper_interval, long conn_expire_time)`
`TCPConnectionMap(java.lang.String service_name, ThreadFactory f, TCPConnectionMap.Receiver r, java.net.InetAddress bind_addr, java.net.InetAddress external_addr, int srv_port, int max_port, long reaper_interval, long conn_expire_time)`

### Uses of ThreadFactory in org.jgroups.protocols

Fields in org.jgroups.protocols declared as ThreadFactory
Modifier and Type | Field and Description
--- | ---
`protected ThreadFactory` | TP.`default_thread_factory` Factory which is used by oob_thread_pool
`protected ThreadFactory` | TP.`global_thread_factory` Used by all threads created by JGroups outside of the thread pools
`protected ThreadFactory` | TP.`oob_thread_factory` Factory which is used by oob_thread_pool
`protected ThreadFactory` | SCOPE.`thread_factory`
`protected ThreadFactory` | TP.`timer_thread_factory`

Methods in org.jgroups.protocols that return ThreadFactory
Modifier and Type | Method and 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 and 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)`
`protected static java.util.concurrent.ExecutorService` | SCOPE.`createThreadPool(int min_threads, int max_threads, long keep_alive_time, 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 and Description
--- | ---
`protected ThreadFactory` | GossipRouter.`default_thread_factory`

Methods in org.jgroups.stack that return ThreadFactory
Modifier and Type | Method and Description
--- | ---
`ThreadFactory` | GossipRouter.`getDefaultThreadPoolThreadFactory()`
`ThreadFactory` | ProtocolStack.`getThreadFactory()` Deprecated. Use `Protocol.getThreadFactory()` instead
`ThreadFactory` | Protocol.`getThreadFactory()` Supposed to be overwritten by subclasses.
`static ThreadFactory` | ProtocolStack.`getTimerThreadFactory()` Deprecated.

Methods in org.jgroups.stack with parameters of type ThreadFactory
Modifier and Type | Method and Description
--- | ---
`void` | ProtocolStack.`setThreadFactory(ThreadFactory f)` Deprecated. Use `Protocol.getThreadFactory()` instead
`static void` | ProtocolStack.`setTimerThreadFactory(ThreadFactory f)` Deprecated. Use `TP.setTimerThreadFactory(org.jgroups.util.ThreadFactory)` instead

### Uses of ThreadFactory in org.jgroups.util

Fields in org.jgroups.util declared as ThreadFactory
Modifier and Type | Field and Description
--- | ---
`protected ThreadFactory` | TimeScheduler2.`timer_thread_factory`
`protected ThreadFactory` | HashedTimingWheel.`timer_thread_factory`

Methods in org.jgroups.util with parameters of type ThreadFactory
Modifier and Type | Method and Description
--- | ---
`static void` | Util.`runAsync(java.lang.Runnable task, ThreadFactory factory, java.lang.ThreadGroup group, java.lang.String thread_name)` Runs a task on a separate thread
`void` | DefaultTimeScheduler.`setThreadFactory(ThreadFactory factory)`
`void` | TimeScheduler2.`setThreadFactory(ThreadFactory factory)`
`void` | TimeScheduler.`setThreadFactory(ThreadFactory factory)`
`void` | HashedTimingWheel.`setThreadFactory(ThreadFactory factory)`

Constructors in org.jgroups.util with parameters of type ThreadFactory
Constructor and Description
`DefaultTimeScheduler(ThreadFactory factory)`
`DefaultTimeScheduler(ThreadFactory factory, int max_threads)`
`HashedTimingWheel(ThreadFactory factory, int min_threads, int max_threads, long keep_alive_time, int max_queue_size, int wheel_size, long tick_time)`
`TimeScheduler2(ThreadFactory factory, int min_threads, int max_threads, long keep_alive_time, int max_queue_size)`