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 ProtocolProtocolTester. getBottom()ProtocolProtocolTester. 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 voidSimulator. 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 voidProtocol. attachProtocol(Protocol p)protected static ProtocolJmxConfigurator. 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 voidFLUSH. 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 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 classAUTHThe AUTH protocol adds a layer of authentication to JGroupsclassAUTOCONFSenses the network configuration when it is initialized (in init()) and sends a CONFIG event up and down the stack.classBARRIERAll messages up the stack have to go through a barrier (read lock, RL).classBasicTCPShared base class for tcpip protocolsclassBSHBeanshell (www.beanshell.org) interpreter class.classCAUSALImplements casual ordering layer using vector clocks.classCOMPRESSCompresses the payload of a message.classDELAYDelays incoming/outgoing messages by a random number of milliseconds (range between 0 and n where n is determined by the user).classDELAY_JOIN_REQDiscards 2 JOIN-REQs then accepts 1, then discards 2 more and so onclassDISCARDDiscards 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.classDISCARD_PAYLOADDiscards a message whose sequence number (in the payload, as a Long) matches seqno 2 times, before passing it up.classDiscoveryThe Discovery protocol layer retrieves the initial membership (used by the GMS when started by sending event FIND_INITIAL_MBRS down the stack).classDUMMY_TPDummy transport, returns a fake local address and responds to CONNECT.classDUPLDuplicates outgoing or incoming messages by copying themclassENCRYPTENCRYPT layer.classEXAMPLEExample of a protocol layer.classFCSimple flow control protocol based on a credit system.classFDFailure detection based on simple heartbeat protocol.classFD_ALLFailure detection based on simple heartbeat protocol.classFD_ICMPProtocol 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.classFD_PINGProtocol which uses an executable (e.g.classFD_SIMPLESimple failure detection protocol.classFD_SOCKFailure detection protocol based on sockets.classFRAGFragmentation layer.classFRAG2Fragmentation layer.classHDRSExample of a protocol layer.classHTOTALImplementation of UTO-TCP as designed by EPFL.classJMSImplementation of the transport protocol using the Java Message Service (JMS).classLOOPBACKMakes copies of outgoing messages, swaps sender and receiver and sends the message back up the stack.classMERGE2Protocol to discover subgroups; e.g., existing due to a network partition (that healed).classMERGE3Protocol to discover subgroups; e.g., existing due to a network partition (that healed).classMERGEFASTThe coordinator attaches a small header to each (or every nth) message.classMPINGUses its own IP multicast socket to send and receive discovery requests/responses.classPARTITIONProtocol to simulate a partition.classPERF_TPMeasures the time for a message to travel from the channel to the transportclassPINGThe PING protocol layer retrieves the initial membership (used by the GMS when started by sending event FIND_INITIAL_MBRS down the stack).classSEQUENCERImplementation of total order protocol using a sequencer.classSFCSimple flow control protocol.classSHARED_LOOPBACKLoopback transport shared by all channels within the same VM.classSHUFFLEThis layer shuffles upcoming messages, put it just above your bottom layer.classSIZEProtocol which prints out the real size of a message.classSMACKSimple Multicast ACK protocol.classSTATSProvides various statsclassTCPTCP based protocol.classTCP_NIOTransport using NIOclassTCPGOSSIPThe TCPGOSSIP protocol layer retrieves the initial membership (used by the GMS when started by sending event FIND_INITIAL_MBRS down the stack).classTCPPINGThe TCPPING protocol layer retrieves the initial membership in answer to the GMS's FIND_INITIAL_MBRS event.classTPGeneric transport - specific implementations should extend this abstract class.static classTP.ProtocolAdapterclassTRACEclassTUNNELReplacement for UDP.classUDPIP multicast transport based on UDP.classUNICASTReliable unicast layer.classVERIFY_SUSPECTCatches SUSPECT events traveling up the stack.classVIEW_SYNCPeriodically 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 classFLUSHFlush, as it name implies, forces group members to flush their pending messages while blocking them to send any additional messages.classGMSGroup membership protocol.classNAKACKNegative AcKnowledgement layer (NAKs).classSTABLEComputes the broadcast messages that are stable; i.e., have been received by all members.classSTATE_TRANSFERNew STATE_TRANSFER protocol based on PBCAST.classSTREAMING_STATE_TRANSFERSTREAMING_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 classProtocolStackA ProtocolStack manages a number of protocols layered above each other.Fields in org.jgroups.stack declared as Protocol Modifier and Type Field Description protected ProtocolProtocol. down_protprotected ProtocolProtocol. up_protMethods in org.jgroups.stack that return Protocol Modifier and Type Method Description static ProtocolConfigurator. createProtocol(java.lang.String prot_spec, ProtocolStack stack)Creates a new protocol given the protocol specification.ProtocolProtocolStack. createProtocol(java.lang.String prot_spec)Creates a new protocol given the protocol specification.static ProtocolConfigurator. findProtocol(Protocol prot_stack, java.lang.String name)ProtocolProtocolStack. findProtocol(java.lang.Class<?> clazz)ProtocolProtocolStack. findProtocol(java.lang.String name)Returns a given protocol or null if not foundstatic ProtocolConfigurator. getBottommostProtocol(Protocol prot_stack)ProtocolProtocol. getDownProtocol()ProtocolProtocol. getUpProtocol()static ProtocolConfigurator. removeProtocol(Protocol top_prot, java.lang.String prot_name)Removes a protocol from the stack.ProtocolProtocolStack. removeProtocol(java.lang.String prot_name)Removes a protocol from the stack.static ProtocolConfigurator. 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 ProtocolConfigurator. findProtocol(Protocol prot_stack, java.lang.String name)static ProtocolConfigurator. getBottommostProtocol(Protocol prot_stack)static voidConfigurator. insertProtocol(Protocol prot, int position, java.lang.Class<? extends Protocol> neighbor_prot, ProtocolStack stack)static voidConfigurator. insertProtocol(Protocol prot, int position, java.lang.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, java.lang.Class<? extends Protocol> neighbor_prot)voidProtocolStack. insertProtocol(Protocol prot, int position, java.lang.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, java.lang.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 Protocol Modifier and Type Method Description static voidConfigurator. destroyProtocolStack(java.util.List<Protocol> protocols)static voidConfigurator. initProtocolStack(java.util.List<Protocol> protocols)static voidConfigurator. insertProtocol(Protocol prot, int position, java.lang.Class<? extends Protocol> neighbor_prot, ProtocolStack stack)voidProtocolStack. insertProtocol(Protocol prot, int position, java.lang.Class<? extends Protocol> neighbor_prot)static voidConfigurator. sanityCheck(java.util.Vector<Protocol> protocols)Throws an exception if sanity check fails.static voidConfigurator. startProtocolStack(java.util.List<Protocol> protocols, java.lang.String cluster_name, java.util.Map<java.lang.String,Tuple<TP,java.lang.Short>> singletons)static voidConfigurator. 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.StringUtil. getProperty(Protocol prot, java.lang.String prop_name)
-