Uses of Interface
org.jgroups.Lifecycle
Packages that use Lifecycle
Package
Description
Provides building blocks that are layered on top of channels.
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
Support for managing protocol stacks.
Provides useful functionality which cannot be assigned to any particular other package.
-
Uses of Lifecycle in org.jgroups.blocks
Classes in org.jgroups.blocks that implement Lifecycle -
Uses of Lifecycle in org.jgroups.fork
Classes in org.jgroups.fork that implement LifecycleModifier and TypeClassDescriptionclassActs as bottom protocol of a fork-stack.classProtocol stack which maintains the mapping between fork-channel IDs and ForkChannels -
Uses of Lifecycle in org.jgroups.protocols
Classes in org.jgroups.protocols that implement LifecycleModifier and TypeClassDescriptionclassEncrypts and decrypts communication in JGroups by using a secret key distributed to all cluster members by the key server (coordinator) using asymmetric (public/private key) encryption.
The secret key is identical for all cluster members and is used to encrypt messages when sending and decrypt them when receiving messages.classThe AUTH protocol adds a layer of authentication to JGroups.classAll messages up the stack have to go through a barrier (read lock, RL).classShared base class for TCP protocolsclassBatches messages near the top of the stack.classBatches messages near the top of the stack.classBroadcast PING.classDeprecated.See http://belaban.blogspot.com/2020/11/i-hate-distributed-locks.html.classDeprecated.See http://belaban.blogspot.com/2020/11/i-hate-distributed-locks.html.classProtocol which clears a set of flags in the down or up direction for all messagesclassCompresses the payload of a message.classProtocol which is used byCounterServiceto provide a distributed atomic counterclassImplementation of daisy chaining.classDelays incoming/outgoing messages by a random number of milliseconds (range between 0 and n where n is determined by the user) and nanoseconds (constant amount).classDetects unicast loopbacks: messages where dest == local addressclassKey exchange based on Diffie-Hellman-Merkle (https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange).classDiscards 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 down.classThe Discovery protocol retrieves the initial membership (used by GMS and MERGE3) by sending discovery requests.classProtocol which drops up or down messages according to user-defined filtersclassDuplicates outgoing or incoming messages by copying themclassEncrypt<E extends KeyStore.Entry>Super class of symmetric (SYM_ENCRYPT) and asymmetric (ASYM_ENCRYPT) encryption protocols.classExample of a protocol layer.classclassFailure detection based on simple heartbeat protocol.classFailure detection based on simple heartbeat protocol.classFailure detection based on simple heartbeat protocol.classFailure detection protocol which detects the crash or hanging of entire hosts and suspects all cluster members on those hosts.classFailure detection protocol based on sockets.classFailure detection protocol based on TCP connections, successor toFD_SOCK.classSimple discovery protocol which uses a file on shared storage such as an SMB share, NFS mount or S3.classSimple flow control protocol based on a credit system.classThe FORK protocol; multiplexes messages to different forks in a stack (https://issues.redhat.com/browse/JGRP-1613).classFragmentation layer.classFragmentation layer.classFragmentation protocol which uses less memory to store fragments thanFRAG2.classFragmentation layer.classBase class for all fragmentation protocols.classPrints the headers of all sent or received messagesclassSimple protocol to inject an arbitrary view on one or more cluster nodes.classDiscovery protocol using a JDBC connection to a shared database.classNew version ofJDBC_PING.classBase class for protocols implementing key exchange: a secret key to be used for encryption is exchanged between 2 parties (usually the key server and a new cluster member) securely; ie.classDiscovery protocol for finding members in the local process only.classDeprecated.See http://belaban.blogspot.com/2020/11/i-hate-distributed-locks.html.classIntercepts individual up messages and creates batches from them, passing the batches up.classProtocol to discover subgroups; e.g., existing due to a network partition (that healed).classSimple flow control protocol based on a credit system.classNon-blocking alternative toMFC.classUses its own IP multicast socket to send and receive discovery requests/responses.classDetects sends during processing of incoming messages and sets flagMessage.TransientFlag.DONT_BLOCKto prevent blocking the incoming thread on a send.classPersistent Discovery Cache.classProtocol measuring latency between stacks.classThe PING protocol retrieves the initial membership by mcasting a discovery request (via the multicast capable transport) to all current cluster membersclassDiscovery protocol based on Rackspace Cloud Files storage solutionclassMeasures incoming and outgoing rates: messages/sec, bytes/sec.classProtocol which sends at most max_bytes in time_period milliseconds.classRate limiter based credits (max_bytes).classImplementation of Random Early Drop: messages are discarded when the bundler's queue in the transport nears exhaustion.classReverses the next N messages that are received.classProtocol which implements synchronous messages (https://issues.redhat.com/browse/JGRP-1389).classImplementation of total order protocol using a sequencer.classImplementation of total order protocol using a sequencer_uum.classSerializes the entire message (including payload, headers, flags and destination and src) into the payload of another message that's then sent.classLoopback transport shared by all channels within the same VM.classDiscovery protocol running overSHARED_LOOPBACKonly.classReorders messages by buffering them and shuffling the result after TIMEOUT ms.classBare-bones thread-per-connection TCP-based transport.classProtocol which prints out the real size of a message.classProtocol trying to print message payloads as stringsclassPeriodically fetches some attributes and writes them to a file (https://issues.redhat.com/browse/JGRP-2402)classKey exchange based on SSL sockets.classProvides various statsclassProtocol which provides STOMP (https://stomp.github.io/) support.classDiscovery protocol based on Openstack Swift (object storage).classEncrypts and decrypts communication in JGroups by using a secret key shared by all cluster members.classTCP based protocol.classProtocol using TCP/IP to send and receive messages.classThe TCPGOSSIP protocol layer retrieves the initial membership (used by GMS when started by sending event FIND_INITIAL_MBRS down the stack).classThe TCPPING protocol defines a static cluster membership.classMaintains averages of up- and down-threadsclassProtocol measuring delivery times.classGeneric transport - specific implementations should extend this abstract class.classclassReplacement for UDP.classIP multicast transport based on UDP.classSimple flow control protocol based on a credit system.classNon-blocking alternative toUFC.classInterceptsProtocol.up(MessageBatch)and passes up each message of a message batch as a single message.classReliable unicast protocol using a combination of positive and negative acks.classCatches SUSPECT events traveling up the stack.classDouble-checks that a suspected member is really dead. -
Uses of Lifecycle in org.jgroups.protocols.dns
Classes in org.jgroups.protocols.dns that implement Lifecycle -
Uses of Lifecycle in org.jgroups.protocols.pbcast
Classes in org.jgroups.protocols.pbcast that implement LifecycleModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.Over 20 years old and nodoby uses it.classGroup membership protocol.classNegative AcKnowledgement layer (NAKs).classComputes the broadcast messages that are stable; i.e., have been delivered by all members.classSTATE streams the state (written to an OutputStream) to the state requester in chunks (defined by chunk_size).classSTATE_SOCKhas the state provider create a server socket to which the state requester connects and from which the latter reads the state.classSTATE_TRANSFER protocol based on byte array transfer.classBase class for state transfer protocols which use streaming (or chunking) to transfer state between two members. -
Uses of Lifecycle in org.jgroups.protocols.relay
Classes in org.jgroups.protocols.relay that implement Lifecycle -
Uses of Lifecycle in org.jgroups.stack
Classes in org.jgroups.stack that implement LifecycleModifier and TypeClassDescriptionclassThe Protocol class provides a set of common services for protocol layers.classA ProtocolStack manages a number of protocols layered above each other. -
Uses of Lifecycle in org.jgroups.util
Classes in org.jgroups.util that implement LifecycleModifier and TypeClassDescriptionclassUsed to execute asynchronous tasks, e.g.classThread pool based onThreadPoolExecutorclass