Package | Description |
---|---|
org.jgroups |
Provides top-level public JGroups classes such as Channel, Message, etc.
|
org.jgroups.fork | |
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.
|
Modifier and Type | Field and Description |
---|---|
protected ProtocolStack |
JChannel.prot_stack |
Modifier and Type | Method and Description |
---|---|
ProtocolStack |
JChannel.getProtocolStack()
Returns the protocol stack
|
abstract ProtocolStack |
Channel.getProtocolStack() |
Modifier and Type | Method and Description |
---|---|
void |
JChannel.setProtocolStack(ProtocolStack stack) |
Modifier and Type | Class and Description |
---|---|
class |
ForkProtocolStack
Protocol stack which maintains the mapping between fork-channel IDs and ForkChannels
|
Modifier and Type | Method and Description |
---|---|
ProtocolStack |
FORK.createForkStack(java.lang.String fork_stack_id,
java.util.List<Protocol> protocols,
boolean initialize)
Returns the fork stack for fork_stack_id (if exitstent), or creates a new fork-stack from protocols and adds it
into the hashmap of fork-stack (key is fork_stack_id).
|
Modifier and Type | Method and Description |
---|---|
protected static java.util.List<Protocol> |
FORK.createProtocols(ProtocolStack stack,
java.util.List<ProtocolConfiguration> protocol_configs)
Creates a fork-stack from the configuration, initializes all protocols (setting values),
sets the protocol stack as top protocol, connects the protocols and calls init() on them.
|
Modifier and Type | Field and Description |
---|---|
protected ProtocolStack |
Protocol.stack |
Modifier and Type | Method and Description |
---|---|
ProtocolStack |
ProtocolStack.addProtocol(Protocol prot)
Adds a protocol at the tail of the protocol list
|
ProtocolStack |
ProtocolStack.addProtocols(java.util.List<Protocol> prots)
Adds a list of protocols
|
ProtocolStack |
ProtocolStack.addProtocols(Protocol... prots)
Adds a list of protocols
|
ProtocolStack |
ProtocolStack.bottomProtocol(Protocol bottom) |
ProtocolStack |
Protocol.getProtocolStack() |
ProtocolStack |
ProtocolStack.setChannel(JChannel ch) |
ProtocolStack |
ProtocolStack.topProtocol(Protocol top) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Protocol> |
ProtocolStack.copyProtocols(ProtocolStack targetStack) |
protected static Protocol |
Configurator.createLayer(ProtocolStack stack,
ProtocolConfiguration config) |
static Protocol |
Configurator.createProtocol(java.lang.String prot_spec,
ProtocolStack stack)
Creates a new protocol given the protocol specification.
|
static java.util.List<Protocol> |
Configurator.createProtocols(java.util.List<ProtocolConfiguration> protocol_configs,
ProtocolStack stack)
Takes vector of ProtocolConfigurations, iterates through it, creates Protocol for
each ProtocolConfiguration and returns all Protocols in a list.
|
Protocol |
Protocol.setProtocolStack(ProtocolStack s) |
void |
ProtocolStack.setup(ProtocolStack stack) |
static Protocol |
Configurator.setupProtocolStack(java.util.List<ProtocolConfiguration> protocol_configs,
ProtocolStack st)
The configuration string has a number of entries, separated by a ':' (colon).
|
Protocol |
Configurator.setupProtocolStack(ProtocolStack copySource) |
Constructor and Description |
---|
Configurator(ProtocolStack protocolStack) |
Copyright © 1998-2020 Red Hat. All Rights Reserved.