Package | Description |
---|---|
org.jgroups.debug |
Provides debug support, including testing, profiling, and a graphical view of a protocol stack.
|
org.jgroups.jmx | |
org.jgroups.jmx.protocols | |
org.jgroups.jmx.protocols.pbcast | |
org.jgroups.protocols |
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
|
org.jgroups.protocols.pbcast |
Supports probabilistic broadcasts.
|
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 | Method and Description |
---|---|
Protocol |
ProtocolTester.getBottom() |
Protocol |
ProtocolTester.getTop() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector<Protocol> |
ProtocolTester.getProtocols() |
Modifier and Type | Method and Description |
---|---|
void |
Simulator.setProtocolStack(Protocol[] stack) |
Constructor and Description |
---|
ProtocolTester(java.lang.String prot_spec,
Protocol harness) |
Modifier and Type | Method and Description |
---|---|
void |
Protocol.attachProtocol(Protocol p) |
protected static Protocol |
JmxConfigurator.findProtocol(Protocol prot) |
Constructor and Description |
---|
Protocol(Protocol p) |
Modifier and Type | Method and Description |
---|---|
void |
FD_ALL.attachProtocol(Protocol p) |
void |
PING.attachProtocol(Protocol p) |
void |
VIEW_SYNC.attachProtocol(Protocol p) |
void |
UNICAST.attachProtocol(Protocol p) |
void |
MPING.attachProtocol(Protocol p) |
void |
Discovery.attachProtocol(Protocol p) |
void |
TCPPING.attachProtocol(Protocol p) |
void |
FD.attachProtocol(Protocol p) |
void |
TCP_NIO.attachProtocol(Protocol p) |
void |
FD_SOCK.attachProtocol(Protocol p) |
void |
SFC.attachProtocol(Protocol p) |
void |
TCPGOSSIP.attachProtocol(Protocol p) |
void |
FRAG.attachProtocol(Protocol p) |
void |
PARTITION.attachProtocol(Protocol p) |
void |
STATS.attachProtocol(Protocol p) |
void |
UDP.attachProtocol(Protocol p) |
void |
MERGE2.attachProtocol(Protocol p) |
void |
TCP.attachProtocol(Protocol p) |
void |
FRAG2.attachProtocol(Protocol p) |
void |
BARRIER.attachProtocol(Protocol p) |
void |
FC.attachProtocol(Protocol p) |
void |
TP.attachProtocol(Protocol p) |
void |
SEQUENCER.attachProtocol(Protocol p) |
Constructor and Description |
---|
BARRIER(Protocol p) |
Discovery(Protocol p) |
FC(Protocol p) |
FD_ALL(Protocol p) |
FD_SOCK(Protocol p) |
FD(Protocol p) |
FRAG(Protocol p) |
FRAG2(Protocol p) |
MERGE2(Protocol p) |
MPING(Protocol p) |
PARTITION(Protocol p) |
PING(Protocol p) |
SEQUENCER(Protocol p) |
SFC(Protocol p) |
STATS(Protocol p) |
TCP_NIO(Protocol p) |
TCP(Protocol p) |
TCPGOSSIP(Protocol p) |
TCPPING(Protocol p) |
TP(Protocol p) |
UDP(Protocol p) |
UNICAST(Protocol p) |
VIEW_SYNC(Protocol p) |
Modifier and Type | Method and Description |
---|---|
void |
NAKACK.attachProtocol(Protocol p) |
void |
FLUSH.attachProtocol(Protocol p) |
void |
STREAMING_STATE_TRANSFER.attachProtocol(Protocol p) |
void |
STATE_TRANSFER.attachProtocol(Protocol p) |
void |
STABLE.attachProtocol(Protocol p) |
void |
GMS.attachProtocol(Protocol p) |
Constructor and Description |
---|
FLUSH(Protocol p) |
GMS(Protocol p) |
NAKACK(Protocol p) |
STABLE(Protocol p) |
STATE_TRANSFER(Protocol p) |
STREAMING_STATE_TRANSFER(Protocol p) |
Modifier and Type | Class and Description |
---|---|
class |
AUTH
The AUTH protocol adds a layer of authentication to JGroups
|
class |
AUTOCONF
Senses the network configuration when it is initialized (in init()) and sends a CONFIG event up
and down the stack.
|
class |
BARRIER
All messages up the stack have to go through a barrier (read lock, RL).
|
class |
BasicTCP
Shared base class for tcpip protocols
|
class |
BSH
Beanshell (www.beanshell.org) interpreter class.
|
class |
CAUSAL
Implements casual ordering layer using vector clocks.
|
class |
COMPRESS
Compresses the payload of a message.
|
class |
DELAY
Delays incoming/outgoing messages by a random number of milliseconds (range between 0 and n
where n is determined by the user).
|
class |
DELAY_JOIN_REQ
Discards 2 JOIN-REQs then accepts 1, then discards 2 more and so on
|
class |
DISCARD
Discards up or down messages based on a percentage; e.g., setting property 'up' to 0.1 causes 10%
of all up messages to be discarded.
|
class |
DISCARD_PAYLOAD
Discards a message whose sequence number (in the payload, as a Long) matches seqno 2 times,
before passing it up.
|
class |
Discovery
The Discovery protocol layer retrieves the initial membership (used by the GMS when started
by sending event FIND_INITIAL_MBRS down the stack).
|
class |
DUMMY_TP
Dummy transport, returns a fake local address and responds to CONNECT.
|
class |
DUPL
Duplicates outgoing or incoming messages by copying them
|
class |
ENCRYPT
ENCRYPT layer.
|
class |
EXAMPLE
Example of a protocol layer.
|
class |
FC
Simple flow control protocol based on a credit system.
|
class |
FD
Failure detection based on simple heartbeat protocol.
|
class |
FD_ALL
Failure detection based on simple heartbeat protocol.
|
class |
FD_ICMP
Protocol which uses InetAddress.isReachable() to check whether a given host is up or not,
taking 1 argument; the host name of the host to be pinged.
|
class |
FD_PING
Protocol which uses an executable (e.g.
|
class |
FD_SIMPLE
Simple failure detection protocol.
|
class |
FD_SOCK
Failure detection protocol based on sockets.
|
class |
FRAG
Fragmentation layer.
|
class |
FRAG2
Fragmentation layer.
|
class |
HDRS
Example of a protocol layer.
|
class |
HTOTAL
Implementation of UTO-TCP as designed by EPFL.
|
class |
JMS
Implementation of the transport protocol using the Java Message Service (JMS).
|
class |
LOOPBACK
Makes copies of outgoing messages, swaps sender and receiver and sends the message back up the stack.
|
class |
MERGE2
Protocol to discover subgroups; e.g., existing due to a network partition (that healed).
|
class |
MERGE3
Protocol to discover subgroups; e.g., existing due to a network partition (that healed).
|
class |
MERGEFAST
The coordinator attaches a small header to each (or every nth) message.
|
class |
MPING
Uses its own IP multicast socket to send and receive discovery requests/responses.
|
class |
PARTITION
Protocol to simulate a partition.
|
class |
PERF_TP
Measures the time for a message to travel from the channel to the transport
|
class |
PING
The PING protocol layer retrieves the initial membership (used by the GMS when started
by sending event FIND_INITIAL_MBRS down the stack).
|
class |
SEQUENCER
Implementation of total order protocol using a sequencer.
|
class |
SFC
Simple flow control protocol.
|
class |
SHARED_LOOPBACK
Loopback transport shared by all channels within the same VM.
|
class |
SHUFFLE
This layer shuffles upcoming messages, put it just above your bottom layer.
|
class |
SIZE
Protocol which prints out the real size of a message.
|
class |
SMACK
Simple Multicast ACK protocol.
|
class |
STATS
Provides various stats
|
class |
TCP
TCP based protocol.
|
class |
TCP_NIO
Transport using NIO
|
class |
TCPGOSSIP
The TCPGOSSIP protocol layer retrieves the initial membership (used by the GMS when started
by sending event FIND_INITIAL_MBRS down the stack).
|
class |
TCPPING
The TCPPING protocol layer retrieves the initial membership in answer to the GMS's
FIND_INITIAL_MBRS event.
|
class |
TP
Generic transport - specific implementations should extend this abstract class.
|
static class |
TP.ProtocolAdapter |
class |
TRACE |
class |
TUNNEL
Replacement for UDP.
|
class |
UDP
IP multicast transport based on UDP.
|
class |
UNICAST
Reliable unicast layer.
|
class |
VERIFY_SUSPECT
Catches SUSPECT events traveling up the stack.
|
class |
VIEW_SYNC
Periodically sends the view to the group.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.ConcurrentMap<java.lang.String,Protocol> |
TP.getUpProtocols() |
Constructor and Description |
---|
TP.ProtocolAdapter(java.lang.String cluster_name,
java.lang.String transport_name,
Protocol up,
Protocol down,
java.lang.String pattern,
Address addr) |
Modifier and Type | Class and Description |
---|---|
class |
FLUSH
Flush, as it name implies, forces group members to flush their pending
messages while blocking them to send any additional messages.
|
class |
GMS
Group membership protocol.
|
class |
NAKACK
Negative AcKnowledgement layer (NAKs).
|
class |
STABLE
Computes the broadcast messages that are stable; i.e., have been received by all members.
|
class |
STATE_TRANSFER
New STATE_TRANSFER protocol based on PBCAST.
|
class |
STREAMING_STATE_TRANSFER
STREAMING_STATE_TRANSFER , as its name implies, allows a
streaming state transfer between two channel instances. |
Modifier and Type | Class and Description |
---|---|
class |
ProtocolStack
A ProtocolStack manages a number of protocols layered above each other.
|
Modifier and Type | Field and Description |
---|---|
protected Protocol |
Protocol.down_prot |
protected Protocol |
Protocol.up_prot |
Modifier and Type | Method and Description |
---|---|
Protocol |
ProtocolStack.createProtocol(java.lang.String prot_spec)
Creates a new protocol given the protocol specification.
|
static Protocol |
Configurator.createProtocol(java.lang.String prot_spec,
ProtocolStack stack)
Creates a new protocol given the protocol specification.
|
Protocol |
ProtocolStack.findProtocol(java.lang.Class<?> clazz) |
static Protocol |
Configurator.findProtocol(Protocol prot_stack,
java.lang.String name) |
Protocol |
ProtocolStack.findProtocol(java.lang.String name)
Returns a given protocol or null if not found
|
static Protocol |
Configurator.getBottommostProtocol(Protocol prot_stack) |
Protocol |
Protocol.getDownProtocol() |
Protocol |
Protocol.getUpProtocol() |
static Protocol |
Configurator.removeProtocol(Protocol top_prot,
java.lang.String prot_name)
Removes a protocol from the stack.
|
Protocol |
ProtocolStack.removeProtocol(java.lang.String prot_name)
Removes a protocol from the stack.
|
static Protocol |
Configurator.setupProtocolStack(java.lang.String configuration,
ProtocolStack st)
The configuration string has a number of entries, separated by a ':' (colon).
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<Protocol> |
ProtocolStack.getProtocols()
Returns all protocols in a list, from top to bottom.
|
Modifier and Type | Method and Description |
---|---|
static Protocol |
Configurator.findProtocol(Protocol prot_stack,
java.lang.String name) |
static Protocol |
Configurator.getBottommostProtocol(Protocol prot_stack) |
void |
ProtocolStack.insertProtocol(Protocol prot,
int position,
java.lang.Class<? extends Protocol> neighbor_prot) |
static void |
Configurator.insertProtocol(Protocol prot,
int position,
java.lang.Class<? extends Protocol> neighbor_prot,
ProtocolStack stack) |
void |
ProtocolStack.insertProtocol(Protocol prot,
int position,
Protocol neighbor_prot) |
static void |
Configurator.insertProtocol(Protocol prot,
int position,
Protocol neighbor,
ProtocolStack stack) |
void |
ProtocolStack.insertProtocol(Protocol prot,
int position,
java.lang.String neighbor_prot)
Inserts an already created (and initialized) protocol into the protocol list.
|
static void |
Configurator.insertProtocol(Protocol prot,
int position,
java.lang.String neighbor_prot,
ProtocolStack stack)
Inserts an already created (and initialized) protocol into the protocol list.
|
protected static void |
Configurator.insertProtocol(Protocol prot,
Protocol neighbor,
int position) |
static Protocol |
Configurator.removeProtocol(Protocol top_prot,
java.lang.String prot_name)
Removes a protocol from the stack.
|
void |
Protocol.setDownProtocol(Protocol down_prot) |
void |
Protocol.setUpProtocol(Protocol up_prot) |
Modifier and Type | Method and Description |
---|---|
static void |
Configurator.destroyProtocolStack(java.util.List<Protocol> protocols) |
static void |
Configurator.initProtocolStack(java.util.List<Protocol> protocols) |
void |
ProtocolStack.insertProtocol(Protocol prot,
int position,
java.lang.Class<? extends Protocol> neighbor_prot) |
static void |
Configurator.insertProtocol(Protocol prot,
int position,
java.lang.Class<? extends Protocol> neighbor_prot,
ProtocolStack stack) |
static void |
Configurator.sanityCheck(java.util.Vector<Protocol> protocols)
Throws an exception if sanity check fails.
|
static void |
Configurator.startProtocolStack(java.util.List<Protocol> protocols,
java.lang.String cluster_name,
java.util.Map<java.lang.String,Tuple<TP,java.lang.Short>> singletons) |
static void |
Configurator.stopProtocolStack(java.util.List<Protocol> protocols,
java.lang.String cluster_name,
java.util.Map<java.lang.String,Tuple<TP,java.lang.Short>> singletons) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Util.getProperty(Protocol prot,
java.lang.String prop_name) |
Copyright ? 1998-2008 Bela Ban. All Rights Reserved.