Uses of Interface
org.jgroups.util.ThreadFactory
-
Packages that use ThreadFactory Package Description org.jgroups.blocks.cs This package contains all client-server related interfaces and classesorg.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.cs
Fields in org.jgroups.blocks.cs declared as ThreadFactory Modifier and Type Field Description protected ThreadFactoryBaseServer. factoryConstructors in org.jgroups.blocks.cs with parameters of type ThreadFactory Constructor Description BaseServer(ThreadFactory f, SocketFactory sf)NioBaseServer(ThreadFactory f, SocketFactory sf)NioClient(ThreadFactory thread_factory, SocketFactory sf)NioServer(ThreadFactory f, SocketFactory sf)NioServer(ThreadFactory thread_factory, SocketFactory socket_factory, java.net.InetAddress bind_addr, int srv_port, int end_port, java.net.InetAddress external_addr, int external_port)Creates an instance ofNioServerthat opens a server channel and listens for connections.Receiver(ThreadFactory f)TcpBaseServer(ThreadFactory f, SocketFactory sf)TcpClient(ThreadFactory thread_factory, SocketFactory socket_factory)TcpServer(ThreadFactory thread_factory, SocketFactory socket_factory)TcpServer(ThreadFactory thread_factory, SocketFactory socket_factory, java.net.InetAddress bind_addr, int srv_port, int end_port, java.net.InetAddress external_addr, int external_port)Creates an instance ofTcpServerthat creates a server socket and listens for connections Needs to be started next. -
Uses of ThreadFactory in org.jgroups.protocols
Fields in org.jgroups.protocols declared as ThreadFactory Modifier and Type Field Description protected ThreadFactoryTP. internal_thread_factoryprotected ThreadFactoryTP. thread_factoryFactory which is used by the thread poolMethods in org.jgroups.protocols that return ThreadFactory Modifier and Type Method Description ThreadFactoryTP. getInternalThreadPoolThreadFactory()ThreadFactoryTP. getThreadFactory()ThreadFactoryTP. getThreadPoolThreadFactory()Methods in org.jgroups.protocols with parameters of type ThreadFactory Modifier and Type Method Description protected static java.util.concurrent.ExecutorServiceTP. 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, Log log, boolean use_fork_join_pool, boolean use_common_fork_join_pool)<T extends TP>
TTP. setInternalThreadPoolThreadFactory(ThreadFactory factory)<T extends TP>
TTP. setThreadFactory(ThreadFactory factory)<T extends TP>
TTP. setThreadPoolThreadFactory(ThreadFactory factory) -
Uses of ThreadFactory in org.jgroups.stack
Fields in org.jgroups.stack declared as ThreadFactory Modifier and Type Field Description protected ThreadFactoryDiagnosticsHandler. thread_factoryprotected ThreadFactoryGossipRouter. thread_factoryMethods in org.jgroups.stack that return ThreadFactory Modifier and Type Method Description ThreadFactoryProtocol. getThreadFactory()Supposed to be overwritten by subclasses.ThreadFactoryGossipRouter. threadPoolFactory()Methods in org.jgroups.stack with parameters of type ThreadFactory Modifier and Type Method Description GossipRouterGossipRouter. threadPoolFactory(ThreadFactory f)Constructors in org.jgroups.stack with parameters of type ThreadFactory Constructor Description DiagnosticsHandler(java.net.InetAddress diagnostics_addr, int diagnostics_port, java.util.List<java.net.NetworkInterface> bind_interfaces, int diagnostics_ttl, Log log, SocketFactory socket_factory, ThreadFactory thread_factory, java.lang.String passcode)DiagnosticsHandler(java.net.InetAddress diagnostics_addr, int diagnostics_port, Log log, SocketFactory socket_factory, ThreadFactory thread_factory)DiagnosticsHandler(java.net.InetAddress diagnostics_addr, int diagnostics_port, Log log, SocketFactory socket_factory, ThreadFactory thread_factory, java.lang.String passcode) -
Uses of ThreadFactory in org.jgroups.util
Classes in org.jgroups.util that implement ThreadFactory Modifier and Type Class Description classDefaultThreadFactoryThread factory mainly responsible for naming of threads.classLazyThreadFactoryLazily names threads: whenever the address or cluster name is changed, all threads are renamedFields in org.jgroups.util declared as ThreadFactory Modifier and Type Field Description protected ThreadFactoryRunner. factoryprotected ThreadFactoryTimeScheduler3. timer_thread_factoryMethods in org.jgroups.util with parameters of type ThreadFactory Modifier and Type Method Description static java.util.concurrent.ExecutorServiceThreadCreator. 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, boolean useVirtualThreads, Log log)voidTimeScheduler. setThreadFactory(ThreadFactory factory)voidTimeScheduler3. setThreadFactory(ThreadFactory f)Constructors in org.jgroups.util with parameters of type ThreadFactory Constructor Description Runner(ThreadFactory factory, java.lang.String thread_name, java.lang.Runnable function, java.lang.Runnable stop_function)TimeScheduler3(java.util.concurrent.Executor thread_pool, ThreadFactory factory, boolean start)TimeScheduler3(ThreadFactory factory, int min_threads, int max_threads, long keep_alive_time, int max_queue_size, java.lang.String rejection_policy)TimeScheduler3(ThreadFactory factory, int min_threads, int max_threads, long keep_alive_time, java.util.concurrent.BlockingQueue<java.lang.Runnable> queue, java.lang.String rejection_policy, boolean thread_pool_enabled)
-