Uses of Class
org.jgroups.stack.Protocol
Packages that use Protocol
Package
Description
Provides debug support, including testing, profiling, and a graphical view of a protocol stack.
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
Supports probabilistic broadcasts.
Support for managing protocol stacks.
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 ProtocolMethods in org.jgroups.debug that return types with arguments of type ProtocolMethods in org.jgroups.debug with parameters of type ProtocolConstructors in org.jgroups.debug with parameters of type Protocol -
Uses of Protocol in org.jgroups.jmx
Methods in org.jgroups.jmx with parameters of type ProtocolModifier and TypeMethodDescriptionvoid
Protocol.attachProtocol
(Protocol p) protected static Protocol
JmxConfigurator.findProtocol
(Protocol prot) Constructors in org.jgroups.jmx with parameters of type Protocol -
Uses of Protocol in org.jgroups.jmx.protocols
Methods in org.jgroups.jmx.protocols with parameters of type ProtocolModifier and TypeMethodDescriptionvoid
BARRIER.attachProtocol
(Protocol p) void
Discovery.attachProtocol
(Protocol p) void
FC.attachProtocol
(Protocol p) void
FD_ALL.attachProtocol
(Protocol p) void
FD_SOCK.attachProtocol
(Protocol p) void
FD.attachProtocol
(Protocol p) void
FRAG.attachProtocol
(Protocol p) void
FRAG2.attachProtocol
(Protocol p) void
MERGE2.attachProtocol
(Protocol p) void
MPING.attachProtocol
(Protocol p) void
PARTITION.attachProtocol
(Protocol p) void
PING.attachProtocol
(Protocol p) void
SEQUENCER.attachProtocol
(Protocol p) void
SFC.attachProtocol
(Protocol p) void
STATS.attachProtocol
(Protocol p) void
TCP_NIO.attachProtocol
(Protocol p) void
TCP.attachProtocol
(Protocol p) void
TCPGOSSIP.attachProtocol
(Protocol p) void
TCPPING.attachProtocol
(Protocol p) void
TP.attachProtocol
(Protocol p) void
UDP.attachProtocol
(Protocol p) void
UNICAST.attachProtocol
(Protocol p) void
VIEW_SYNC.attachProtocol
(Protocol p) Constructors in org.jgroups.jmx.protocols with parameters of type ProtocolModifierConstructorDescription -
Uses of Protocol in org.jgroups.jmx.protocols.pbcast
Methods in org.jgroups.jmx.protocols.pbcast with parameters of type ProtocolModifier and TypeMethodDescriptionvoid
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 -
Uses of Protocol in org.jgroups.protocols
Subclasses of Protocol in org.jgroups.protocolsModifier and TypeClassDescriptionclass
The AUTH protocol adds a layer of authentication to JGroupsclass
Senses the network configuration when it is initialized (in init()) and sends a CONFIG event up and down the stack.class
All messages up the stack have to go through a barrier (read lock, RL).class
Shared base class for tcpip protocolsclass
Beanshell (www.beanshell.org) interpreter class.class
Implements casual ordering layer using vector clocks.class
Compresses the payload of a message.class
Delays incoming/outgoing messages by a random number of milliseconds (range between 0 and n where n is determined by the user).class
Discards 2 JOIN-REQs then accepts 1, then discards 2 more and so onclass
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
Discards a message whose sequence number (in the payload, as a Long) matches seqno 2 times, before passing it up.class
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 transport, returns a fake local address and responds to CONNECT.class
Duplicates outgoing or incoming messages by copying themclass
ENCRYPT layer.class
Example of a protocol layer.class
Simple flow control protocol based on a credit system.class
Failure detection based on simple heartbeat protocol.class
Failure detection based on simple heartbeat protocol.class
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
Protocol which uses an executable (e.g.class
Simple failure detection protocol.class
Failure detection protocol based on sockets.class
Fragmentation layer.class
Fragmentation layer.class
Example of a protocol layer.class
Implementation of UTO-TCP as designed by EPFL.class
Implementation of the transport protocol using the Java Message Service (JMS).class
Makes copies of outgoing messages, swaps sender and receiver and sends the message back up the stack.class
Protocol to discover subgroups; e.g., existing due to a network partition (that healed).class
Protocol to discover subgroups; e.g., existing due to a network partition (that healed).class
The coordinator attaches a small header to each (or every nth) message.class
Uses its own IP multicast socket to send and receive discovery requests/responses.class
Protocol to simulate a partition.class
Measures the time for a message to travel from the channel to the transportclass
The PING protocol layer retrieves the initial membership (used by the GMS when started by sending event FIND_INITIAL_MBRS down the stack).class
Implementation of total order protocol using a sequencer.class
Simple flow control protocol.class
Loopback transport shared by all channels within the same VM.class
This layer shuffles upcoming messages, put it just above your bottom layer.class
Protocol which prints out the real size of a message.class
Simple Multicast ACK protocol.class
Provides various statsclass
TCP based protocol.class
Transport using NIOclass
The TCPGOSSIP protocol layer retrieves the initial membership (used by the GMS when started by sending event FIND_INITIAL_MBRS down the stack).class
The TCPPING protocol layer retrieves the initial membership in answer to the GMS's FIND_INITIAL_MBRS event.class
Generic transport - specific implementations should extend this abstract class.static class
class
class
Replacement for UDP.class
IP multicast transport based on UDP.class
Reliable unicast layer.class
Catches SUSPECT events traveling up the stack.class
Periodically sends the view to the group.Methods in org.jgroups.protocols that return types with arguments of type ProtocolConstructors in org.jgroups.protocols with parameters of type Protocol -
Uses of Protocol in org.jgroups.protocols.pbcast
Subclasses of Protocol in org.jgroups.protocols.pbcastModifier and TypeClassDescriptionclass
Flush, as it name implies, forces group members to flush their pending messages while blocking them to send any additional messages.class
Group membership protocol.class
Negative AcKnowledgement layer (NAKs).class
Computes the broadcast messages that are stable; i.e., have been received by all members.class
New STATE_TRANSFER protocol based on PBCAST.class
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.stackModifier and TypeClassDescriptionclass
A ProtocolStack manages a number of protocols layered above each other.Fields in org.jgroups.stack declared as ProtocolModifier and TypeFieldDescriptionprotected Protocol
Protocol.down_prot
protected Protocol
Protocol.up_prot
Methods in org.jgroups.stack that return ProtocolModifier and TypeMethodDescriptionstatic Protocol
Configurator.createProtocol
(String prot_spec, ProtocolStack stack) Creates a new protocol given the protocol specification.ProtocolStack.createProtocol
(String prot_spec) Creates a new protocol given the protocol specification.static Protocol
Configurator.findProtocol
(Protocol prot_stack, String name) ProtocolStack.findProtocol
(Class<?> clazz) ProtocolStack.findProtocol
(String name) Returns a given protocol or null if not foundstatic Protocol
Configurator.getBottommostProtocol
(Protocol prot_stack) Protocol.getDownProtocol()
Protocol.getUpProtocol()
static Protocol
Configurator.removeProtocol
(Protocol top_prot, String prot_name) Removes a protocol from the stack.ProtocolStack.removeProtocol
(String prot_name) Removes a protocol from the stack.static Protocol
Configurator.setupProtocolStack
(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 ProtocolModifier and TypeMethodDescriptionProtocolStack.getProtocols()
Returns all protocols in a list, from top to bottom.Methods in org.jgroups.stack with parameters of type ProtocolModifier and TypeMethodDescriptionstatic Protocol
Configurator.findProtocol
(Protocol prot_stack, String name) static Protocol
Configurator.getBottommostProtocol
(Protocol prot_stack) static void
Configurator.insertProtocol
(Protocol prot, int position, Class<? extends Protocol> neighbor_prot, ProtocolStack stack) static void
Configurator.insertProtocol
(Protocol prot, int position, 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, Class<? extends Protocol> neighbor_prot) void
ProtocolStack.insertProtocol
(Protocol prot, int position, 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, 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 ProtocolModifier and TypeMethodDescriptionstatic void
Configurator.destroyProtocolStack
(List<Protocol> protocols) static void
Configurator.initProtocolStack
(List<Protocol> protocols) static void
Configurator.insertProtocol
(Protocol prot, int position, Class<? extends Protocol> neighbor_prot, ProtocolStack stack) void
ProtocolStack.insertProtocol
(Protocol prot, int position, Class<? extends Protocol> neighbor_prot) static void
Configurator.sanityCheck
(Vector<Protocol> protocols) Throws an exception if sanity check fails.static void
Configurator.startProtocolStack
(List<Protocol> protocols, String cluster_name, Map<String, Tuple<TP, Short>> singletons) static void
Configurator.stopProtocolStack
(List<Protocol> protocols, String cluster_name, Map<String, Tuple<TP, Short>> singletons) -
Uses of Protocol in org.jgroups.util
Methods in org.jgroups.util with parameters of type ProtocolModifier and TypeMethodDescriptionstatic String
Util.getProperty
(Protocol prot, String prop_name)