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
Fields in org.jgroups.blocks declared as ThreadFactoryMethods in org.jgroups.blocks that return ThreadFactoryModifier and TypeMethodDescriptionAbstractConnectionMap.getThreadFactory()BasicConnectionTable.getThreadFactory()Methods in org.jgroups.blocks with parameters of type ThreadFactoryModifier and TypeMethodDescriptionvoidBasicConnectionTable.setThreadFactory(ThreadFactory factory) Constructors in org.jgroups.blocks with parameters of type ThreadFactoryModifierConstructorDescriptionAbstractConnectionMap(ThreadFactory factory) AbstractConnectionMap(ThreadFactory factory, long reaperInterval) TCPConnectionMap(String service_name, ThreadFactory f, TCPConnectionMap.Receiver r, InetAddress bind_addr, InetAddress external_addr, int srv_port, int max_port, long reaper_interval, long conn_expire_time) TCPConnectionMap(String service_name, ThreadFactory f, SocketFactory socket_factory, TCPConnectionMap.Receiver r, InetAddress bind_addr, InetAddress external_addr, int srv_port, int max_port) TCPConnectionMap(String service_name, ThreadFactory f, SocketFactory socket_factory, TCPConnectionMap.Receiver r, InetAddress bind_addr, 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 ThreadFactoryModifier and TypeFieldDescriptionprotected ThreadFactoryFactory which is used by oob_thread_poolprotected ThreadFactoryUsed by all threads created by JGroups outside of the thread poolsprotected ThreadFactoryFactory which is used by oob_thread_poolprotected ThreadFactorySCOPE.thread_factoryprotected ThreadFactoryMethods in org.jgroups.protocols that return ThreadFactoryMethods in org.jgroups.protocols with parameters of type ThreadFactoryModifier and TypeMethodDescriptionprotected static ExecutorServiceSCOPE.createThreadPool(int min_threads, int max_threads, long keep_alive_time, ThreadFactory factory) protected static ExecutorServiceTP.createThreadPool(int min_threads, int max_threads, long keep_alive_time, String rejection_policy, BlockingQueue<Runnable> queue, ThreadFactory factory) voidTP.setDefaultThreadPoolThreadFactory(ThreadFactory factory) voidTP.setOOBThreadPoolThreadFactory(ThreadFactory factory) voidTP.setThreadFactory(ThreadFactory factory) voidTP.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 ThreadFactoryProtocolStack.getTimerThreadFactory()Deprecated.Methods in org.jgroups.stack with parameters of type ThreadFactoryModifier and TypeMethodDescriptionvoidProtocolStack.setThreadFactory(ThreadFactory f) Deprecated.UseProtocol.getThreadFactory()insteadstatic voidProtocolStack.setTimerThreadFactory(ThreadFactory f) Deprecated. -
Uses of ThreadFactory in org.jgroups.util
Classes in org.jgroups.util that implement ThreadFactoryModifier and TypeClassDescriptionclassThread factory mainly responsible for naming of threads.classLazily names threads: whenever the address or cluster name is changed, all threads are renamedFields in org.jgroups.util declared as ThreadFactoryModifier and TypeFieldDescriptionprotected ThreadFactoryHashedTimingWheel.timer_thread_factoryprotected ThreadFactoryTimeScheduler2.timer_thread_factoryMethods in org.jgroups.util with parameters of type ThreadFactoryModifier and TypeMethodDescriptionstatic voidUtil.runAsync(Runnable task, ThreadFactory factory, ThreadGroup group, String thread_name) Runs a task on a separate threadvoidDefaultTimeScheduler.setThreadFactory(ThreadFactory factory) voidHashedTimingWheel.setThreadFactory(ThreadFactory factory) voidTimeScheduler.setThreadFactory(ThreadFactory factory) voidTimeScheduler2.setThreadFactory(ThreadFactory factory) Constructors in org.jgroups.util with parameters of type ThreadFactoryModifierConstructorDescriptionDefaultTimeScheduler(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)
Protocol.getThreadFactory()instead