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 TypeMethodDescriptionvoidBasicConnectionTable.setThreadFactory(ThreadFactory factory) -
Uses of ThreadFactory in org.jgroups.protocols
Fields in org.jgroups.protocols declared as ThreadFactoryModifier and TypeFieldDescriptionprotected ThreadFactoryUsed by all threads created by JGroups outside of the thread poolsprotected ThreadFactoryMethods in org.jgroups.protocols that return ThreadFactoryMethods in org.jgroups.protocols with parameters of type ThreadFactoryModifier and TypeMethodDescriptionprotected 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 TypeMethodDescriptionprotected ExecutorServiceGossipRouter.createThreadPool(int min_threads, int max_threads, long keep_alive_time, String rejection_policy, BlockingQueue<Runnable> queue, ThreadFactory factory) voidGossipRouter.setDefaultThreadPoolThreadFactory(ThreadFactory factory) voidProtocolStack.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 renamedConstructors in org.jgroups.util with parameters of type ThreadFactoryModifierConstructorDescriptionTimeScheduler(ThreadFactory factory) TimeScheduler(ThreadFactory factory, int max_threads)
Protocol.getThreadFactory()instead