Package org.jgroups
Provides top-level public JGroups classes such as Channel, Message, etc.
-
Interface Summary Interface Description Address Address identifies cluster member.ChannelListener Allows a listener to be notified when an important channel lifecycle event occurs.Constructable<T> Interface returning a supplier which can be called to create an instanceLifecycle Interface that defines lifecycle methods.Message A Message is used to send data to members of a group.PhysicalAddress Represents a physical (as opposed to logical) addressReceiver Defines the callbacks that are invoked when messages, views etc are receivedUpHandler Provides a hook to hijack all events received by a certain channel which has installed this UpHandler. -
Class Summary Class Description BaseMessage A common superclass for allMessageimplementations.BatchMessage A message that contains a batch of messages.BytesMessage AMessagecontaining a byte array as payload.CompositeMessage A message composed of multiple messages.EmptyMessage AMessagewithout a payload; optimized for sending only headers (e.g.Event Event is a JGroups internal class used for inter-stack and intra-stack communication.FragmentedMessage A message which refers to another message, but only marshals (Streamable.writeTo(DataOutput)) a part of the original message, starting at a givenBytesMessage.offsetand marshalling onlyBytesMessage.lengthbytes.Global Global is a JGroups internal class defining global variables.Header Header is a JGroups internal base class for all JGroups headers.JChannel A channel represents a group communication endpoint (like a socket).JChannelProbeHandler JChannelProbeHandler.ThreadEntry LongMessage Message with a long as payload.Membership Represents a membership of a cluster group.MergeView A view that is sent as a result of a cluster merge.MessageFactory Factory to create messages.NioMessage AMessagewith a (heap-based or direct)ByteBufferas payload.
Note that the payload of an NioMessage must not be modified after sending it (ie.NullAddress ObjectMessage AMessagewith an object as payload.Version We're using the scheme described at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=77231 for major, minor and micro version numbers.View A view is a local representation of the current membership of a group.ViewId ViewIds are used for ordering views (each view has a ViewId and a list of members). -
Enum Summary Enum Description JChannel.State Message.Flag Message.TransientFlag -
Exception Summary Exception Description StateTransferException StateTransferExceptionis thrown to indicate a failure of a state transfer between cluster members.SuspectedException Thrown if a message is sent to a suspected member.UnreachableException Thrown if member in different site cannot be contacted; used by RELAY2