Package | Description |
---|---|
org.jgroups.blocks.cs |
This package contains all client-server related interfaces and classes
|
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.
|
Modifier and Type | Field and Description |
---|---|
protected ThreadFactory |
BaseServer.factory |
Constructor and 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,
InetAddress bind_addr,
int srv_port,
int end_port,
InetAddress external_addr,
int external_port)
Creates an instance of
NioServer that 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,
InetAddress bind_addr,
int srv_port,
int end_port,
InetAddress external_addr,
int external_port)
Creates an instance of
TcpServer that creates a server socket and listens for connections
Needs to be started next. |
Modifier and Type | Field and Description |
---|---|
protected ThreadFactory |
TP.internal_thread_factory |
protected ThreadFactory |
TP.thread_factory
Factory which is used by the thread pool
|
Modifier and Type | Method and Description |
---|---|
ThreadFactory |
TP.getInternalThreadPoolThreadFactory() |
ThreadFactory |
TP.getThreadFactory() |
ThreadFactory |
TP.getThreadPoolThreadFactory() |
Modifier and Type | Method and Description |
---|---|
protected static ExecutorService |
TP.createThreadPool(int min_threads,
int max_threads,
long keep_alive_time,
String rejection_policy,
BlockingQueue<Runnable> queue,
ThreadFactory factory,
Log log,
boolean use_fork_join_pool,
boolean use_common_fork_join_pool) |
TP |
TP.setInternalThreadPoolThreadFactory(ThreadFactory factory) |
TP |
TP.setThreadFactory(ThreadFactory factory) |
TP |
TP.setThreadPoolThreadFactory(ThreadFactory factory) |
Modifier and Type | Field and Description |
---|---|
protected ThreadFactory |
DiagnosticsHandler.thread_factory |
protected ThreadFactory |
GossipRouter.thread_factory |
Modifier and Type | Method and Description |
---|---|
ThreadFactory |
Protocol.getThreadFactory()
Supposed to be overwritten by subclasses.
|
ThreadFactory |
GossipRouter.threadPoolFactory() |
Modifier and Type | Method and Description |
---|---|
GossipRouter |
GossipRouter.threadPoolFactory(ThreadFactory f) |
Constructor and Description |
---|
DiagnosticsHandler(InetAddress diagnostics_addr,
int diagnostics_port,
List<NetworkInterface> bind_interfaces,
int diagnostics_ttl,
Log log,
SocketFactory socket_factory,
ThreadFactory thread_factory,
String passcode) |
DiagnosticsHandler(InetAddress diagnostics_addr,
int diagnostics_port,
Log log,
SocketFactory socket_factory,
ThreadFactory thread_factory) |
DiagnosticsHandler(InetAddress diagnostics_addr,
int diagnostics_port,
Log log,
SocketFactory socket_factory,
ThreadFactory thread_factory,
String passcode) |
Modifier and Type | Field and Description |
---|---|
protected ThreadFactory |
Runner.factory |
protected ThreadFactory |
TimeScheduler3.timer_thread_factory |
Modifier and Type | Method and Description |
---|---|
void |
TimeScheduler3.setThreadFactory(ThreadFactory f) |
void |
TimeScheduler.setThreadFactory(ThreadFactory factory) |
Constructor and Description |
---|
Runner(ThreadFactory factory,
String thread_name,
Runnable function,
Runnable stop_function) |
TimeScheduler3(Executor thread_pool,
ThreadFactory factory) |
TimeScheduler3(ThreadFactory factory,
int min_threads,
int max_threads,
long keep_alive_time,
BlockingQueue<Runnable> queue,
String rejection_policy,
boolean thread_pool_enabled) |
TimeScheduler3(ThreadFactory factory,
int min_threads,
int max_threads,
long keep_alive_time,
int max_queue_size,
String rejection_policy) |
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.