Uses of Class
org.jgroups.stack.Protocol
-
Packages that use Protocol 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. -
-
Uses of Protocol in org.jgroups.debug
Methods in org.jgroups.debug that return Protocol Modifier and Type Method Description Protocol
ProtocolTester. getBottom()
Protocol
ProtocolTester. getTop()
Methods in org.jgroups.debug that return types with arguments of type Protocol Modifier and Type Method Description java.util.Vector<Protocol>
ProtocolTester. getProtocols()
Methods in org.jgroups.debug with parameters of type Protocol Modifier and Type Method Description void
Simulator. setProtocolStack(Protocol[] stack)
Constructors in org.jgroups.debug with parameters of type Protocol Constructor Description ProtocolTester(java.lang.String prot_spec, Protocol harness)
-
Uses of Protocol in org.jgroups.jmx
Methods in org.jgroups.jmx with parameters of type Protocol Modifier and Type Method Description void
Protocol. attachProtocol(Protocol p)
protected static Protocol
JmxConfigurator. findProtocol(Protocol prot)
Constructors in org.jgroups.jmx with parameters of type Protocol Constructor Description Protocol(Protocol p)
-
Uses of Protocol in org.jgroups.jmx.protocols
Constructors in org.jgroups.jmx.protocols with parameters of type Protocol Constructor Description BARRIER(Protocol p)
Discovery(Protocol p)
FC(Protocol p)
FD(Protocol p)
FD_ALL(Protocol p)
FD_SOCK(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(Protocol p)
TCP_NIO(Protocol p)
TCPGOSSIP(Protocol p)
TCPPING(Protocol p)
TP(Protocol p)
UDP(Protocol p)
UNICAST(Protocol p)
VIEW_SYNC(Protocol p)
-
Uses of Protocol in org.jgroups.jmx.protocols.pbcast
Methods in org.jgroups.jmx.protocols.pbcast with parameters of type Protocol Modifier and Type Method Description void
FLUSH. attachProtocol(Protocol p)
void
GMS. attachProtocol(Protocol p)
void
NAKACK. attachProtocol(Protocol p)
void
STABLE. attachProtocol(Protocol p)
void
STATE_TRANSFER. attachProtocol(Protocol p)
void
STREAMING_STATE_TRANSFER. attachProtocol(Protocol p)
Constructors in org.jgroups.jmx.protocols.pbcast with parameters of type Protocol Constructor Description FLUSH(Protocol p)
GMS(Protocol p)
NAKACK(Protocol p)
STABLE(Protocol p)
STATE_TRANSFER(Protocol p)
STREAMING_STATE_TRANSFER(Protocol p)
-
Uses of Protocol in org.jgroups.protocols
Subclasses of Protocol in org.jgroups.protocols Modifier and Type Class Description class
AUTH
The AUTH protocol adds a layer of authentication to JGroupsclass
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 protocolsclass
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 onclass
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 themclass
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 transportclass
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 statsclass
TCP
TCP based protocol.class
TCP_NIO
Transport using NIOclass
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.Methods in org.jgroups.protocols that return types with arguments of type Protocol Modifier and Type Method Description java.util.concurrent.ConcurrentMap<java.lang.String,Protocol>
TP. getUpProtocols()
Constructors in org.jgroups.protocols with parameters of type Protocol Constructor Description ProtocolAdapter(java.lang.String cluster_name, java.lang.String transport_name, Protocol up, Protocol down, java.lang.String pattern, Address addr)
-
Uses of Protocol in org.jgroups.protocols.pbcast
Subclasses of Protocol in org.jgroups.protocols.pbcast Modifier and Type Class 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. -
Uses of Protocol in org.jgroups.stack
Subclasses of Protocol in org.jgroups.stack Modifier and Type Class Description class
ProtocolStack
A ProtocolStack manages a number of protocols layered above each other.Fields in org.jgroups.stack declared as Protocol Modifier and Type Field Description protected Protocol
Protocol. down_prot
protected Protocol
Protocol. up_prot
Methods in org.jgroups.stack that return Protocol Modifier and Type Method Description static Protocol
Configurator. createProtocol(java.lang.String prot_spec, ProtocolStack stack)
Creates a new protocol given the protocol specification.Protocol
ProtocolStack. createProtocol(java.lang.String prot_spec)
Creates a new protocol given the protocol specification.static Protocol
Configurator. findProtocol(Protocol prot_stack, java.lang.String name)
Protocol
ProtocolStack. findProtocol(java.lang.Class<?> clazz)
Protocol
ProtocolStack. findProtocol(java.lang.String name)
Returns a given protocol or null if not foundstatic 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).Methods in org.jgroups.stack that return types with arguments of type Protocol Modifier and Type Method Description java.util.Vector<Protocol>
ProtocolStack. getProtocols()
Returns all protocols in a list, from top to bottom.Methods in org.jgroups.stack with parameters of type Protocol Modifier and Type Method Description static Protocol
Configurator. findProtocol(Protocol prot_stack, java.lang.String name)
static Protocol
Configurator. getBottommostProtocol(Protocol prot_stack)
static void
Configurator. insertProtocol(Protocol prot, int position, java.lang.Class<? extends Protocol> neighbor_prot, ProtocolStack stack)
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.static void
Configurator. insertProtocol(Protocol prot, int position, Protocol neighbor, ProtocolStack stack)
protected static void
Configurator. insertProtocol(Protocol prot, Protocol neighbor, int position)
void
ProtocolStack. insertProtocol(Protocol prot, int position, java.lang.Class<? extends Protocol> neighbor_prot)
void
ProtocolStack. insertProtocol(Protocol prot, int position, java.lang.String neighbor_prot)
Inserts an already created (and initialized) protocol into the protocol list.void
ProtocolStack. insertProtocol(Protocol prot, int position, Protocol neighbor_prot)
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)
Method parameters in org.jgroups.stack with type arguments of type Protocol Modifier and Type Method Description static void
Configurator. destroyProtocolStack(java.util.List<Protocol> protocols)
static void
Configurator. initProtocolStack(java.util.List<Protocol> protocols)
static void
Configurator. insertProtocol(Protocol prot, int position, java.lang.Class<? extends Protocol> neighbor_prot, ProtocolStack stack)
void
ProtocolStack. insertProtocol(Protocol prot, int position, java.lang.Class<? extends Protocol> neighbor_prot)
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)
-
Uses of Protocol in org.jgroups.util
Methods in org.jgroups.util with parameters of type Protocol Modifier and Type Method Description static java.lang.String
Util. getProperty(Protocol prot, java.lang.String prop_name)
-