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 TypeMethodDescriptionvoidProtocol.attachProtocol(Protocol p) protected static ProtocolJmxConfigurator.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 TypeMethodDescriptionvoidBARRIER.attachProtocol(Protocol p) voidDiscovery.attachProtocol(Protocol p) voidFC.attachProtocol(Protocol p) voidFD_ALL.attachProtocol(Protocol p) voidFD_SOCK.attachProtocol(Protocol p) voidFD.attachProtocol(Protocol p) voidFRAG.attachProtocol(Protocol p) voidFRAG2.attachProtocol(Protocol p) voidMERGE2.attachProtocol(Protocol p) voidMPING.attachProtocol(Protocol p) voidPARTITION.attachProtocol(Protocol p) voidPING.attachProtocol(Protocol p) voidSEQUENCER.attachProtocol(Protocol p) voidSFC.attachProtocol(Protocol p) voidSTATS.attachProtocol(Protocol p) voidTCP_NIO.attachProtocol(Protocol p) voidTCP.attachProtocol(Protocol p) voidTCPGOSSIP.attachProtocol(Protocol p) voidTCPPING.attachProtocol(Protocol p) voidTP.attachProtocol(Protocol p) voidUDP.attachProtocol(Protocol p) voidUNICAST.attachProtocol(Protocol p) voidVIEW_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 TypeMethodDescriptionvoidFLUSH.attachProtocol(Protocol p) voidGMS.attachProtocol(Protocol p) voidNAKACK.attachProtocol(Protocol p) voidSTABLE.attachProtocol(Protocol p) voidSTATE_TRANSFER.attachProtocol(Protocol p) voidSTREAMING_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 TypeClassDescriptionclassThe AUTH protocol adds a layer of authentication to JGroupsclassSenses the network configuration when it is initialized (in init()) and sends a CONFIG event up and down the stack.classAll messages up the stack have to go through a barrier (read lock, RL).classShared base class for tcpip protocolsclassBeanshell (www.beanshell.org) interpreter class.classImplements casual ordering layer using vector clocks.classCompresses the payload of a message.classDelays incoming/outgoing messages by a random number of milliseconds (range between 0 and n where n is determined by the user).classDiscards 2 JOIN-REQs then accepts 1, then discards 2 more and so onclassDiscards 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.classDiscards a message whose sequence number (in the payload, as a Long) matches seqno 2 times, before passing it up.classThe Discovery protocol layer retrieves the initial membership (used by the GMS when started by sending event FIND_INITIAL_MBRS down the stack).classDummy transport, returns a fake local address and responds to CONNECT.classDuplicates outgoing or incoming messages by copying themclassENCRYPT layer.classExample of a protocol layer.classSimple flow control protocol based on a credit system.classFailure detection based on simple heartbeat protocol.classFailure detection based on simple heartbeat protocol.classProtocol 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.classProtocol which uses an executable (e.g.classSimple failure detection protocol.classFailure detection protocol based on sockets.classFragmentation layer.classFragmentation layer.classExample of a protocol layer.classImplementation of UTO-TCP as designed by EPFL.classImplementation of the transport protocol using the Java Message Service (JMS).classMakes copies of outgoing messages, swaps sender and receiver and sends the message back up the stack.classProtocol to discover subgroups; e.g., existing due to a network partition (that healed).classProtocol to discover subgroups; e.g., existing due to a network partition (that healed).classThe coordinator attaches a small header to each (or every nth) message.classUses its own IP multicast socket to send and receive discovery requests/responses.classProtocol to simulate a partition.classMeasures the time for a message to travel from the channel to the transportclassThe PING protocol layer retrieves the initial membership (used by the GMS when started by sending event FIND_INITIAL_MBRS down the stack).classImplementation of total order protocol using a sequencer.classSimple flow control protocol.classLoopback transport shared by all channels within the same VM.classThis layer shuffles upcoming messages, put it just above your bottom layer.classProtocol which prints out the real size of a message.classSimple Multicast ACK protocol.classProvides various statsclassTCP based protocol.classTransport using NIOclassThe TCPGOSSIP protocol layer retrieves the initial membership (used by the GMS when started by sending event FIND_INITIAL_MBRS down the stack).classThe TCPPING protocol layer retrieves the initial membership in answer to the GMS's FIND_INITIAL_MBRS event.classGeneric transport - specific implementations should extend this abstract class.static classclassclassReplacement for UDP.classIP multicast transport based on UDP.classReliable unicast layer.classCatches SUSPECT events traveling up the stack.classPeriodically 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 TypeClassDescriptionclassFlush, as it name implies, forces group members to flush their pending messages while blocking them to send any additional messages.classGroup membership protocol.classNegative AcKnowledgement layer (NAKs).classComputes the broadcast messages that are stable; i.e., have been received by all members.classNew STATE_TRANSFER protocol based on PBCAST.classSTREAMING_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 TypeClassDescriptionclassA ProtocolStack manages a number of protocols layered above each other.Fields in org.jgroups.stack declared as ProtocolModifier and TypeFieldDescriptionprotected ProtocolProtocol.down_protprotected ProtocolProtocol.up_protMethods in org.jgroups.stack that return ProtocolModifier and TypeMethodDescriptionstatic ProtocolConfigurator.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 ProtocolConfigurator.findProtocol(Protocol prot_stack, String name) ProtocolStack.findProtocol(Class<?> clazz) ProtocolStack.findProtocol(String name) Returns a given protocol or null if not foundstatic ProtocolConfigurator.getBottommostProtocol(Protocol prot_stack) Protocol.getDownProtocol()Protocol.getUpProtocol()static ProtocolConfigurator.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 ProtocolConfigurator.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 ProtocolConfigurator.findProtocol(Protocol prot_stack, String name) static ProtocolConfigurator.getBottommostProtocol(Protocol prot_stack) static voidConfigurator.insertProtocol(Protocol prot, int position, Class<? extends Protocol> neighbor_prot, ProtocolStack stack) static voidConfigurator.insertProtocol(Protocol prot, int position, String neighbor_prot, ProtocolStack stack) Inserts an already created (and initialized) protocol into the protocol list.static voidConfigurator.insertProtocol(Protocol prot, int position, Protocol neighbor, ProtocolStack stack) protected static voidConfigurator.insertProtocol(Protocol prot, Protocol neighbor, int position) voidProtocolStack.insertProtocol(Protocol prot, int position, Class<? extends Protocol> neighbor_prot) voidProtocolStack.insertProtocol(Protocol prot, int position, String neighbor_prot) Inserts an already created (and initialized) protocol into the protocol list.voidProtocolStack.insertProtocol(Protocol prot, int position, Protocol neighbor_prot) static ProtocolConfigurator.removeProtocol(Protocol top_prot, String prot_name) Removes a protocol from the stack.voidProtocol.setDownProtocol(Protocol down_prot) voidProtocol.setUpProtocol(Protocol up_prot) Method parameters in org.jgroups.stack with type arguments of type ProtocolModifier and TypeMethodDescriptionstatic voidConfigurator.destroyProtocolStack(List<Protocol> protocols) static voidConfigurator.initProtocolStack(List<Protocol> protocols) static voidConfigurator.insertProtocol(Protocol prot, int position, Class<? extends Protocol> neighbor_prot, ProtocolStack stack) voidProtocolStack.insertProtocol(Protocol prot, int position, Class<? extends Protocol> neighbor_prot) static voidConfigurator.sanityCheck(Vector<Protocol> protocols) Throws an exception if sanity check fails.static voidConfigurator.startProtocolStack(List<Protocol> protocols, String cluster_name, Map<String, Tuple<TP, Short>> singletons) static voidConfigurator.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 StringUtil.getProperty(Protocol prot, String prop_name)