Package | Description |
---|---|
org.jgroups.protocols.pbcast |
Supports probabilistic broadcasts.
|
org.jgroups.util |
Provides useful functionality which cannot be assigned to any particular other package.
|
Modifier and Type | Field and Description |
---|---|
protected Digest |
JoinRsp.digest |
protected Digest |
StreamingStateTransfer.StateHeader.digest |
protected Digest |
MergeData.digest |
protected Digest |
STATE_TRANSFER.StateHeader.my_digest |
protected Digest |
NAKACK2.rebroadcast_digest |
protected Digest |
STABLE.StabilitySendTask.stability_digest |
Modifier and Type | Field and Description |
---|---|
protected ResponseCollector<Digest> |
Merger.digest_collector
For GET_DIGEST / DIGEST_RSP correlation
|
Modifier and Type | Method and Description |
---|---|
protected Digest |
Merger.fetchDigestsFromAllMembersInSubPartition(View view,
MergeId merge_id)
Multicasts a GET_DIGEST_REQ to all members of this sub partition and waits for all responses
(GET_DIGEST_RSP) or N ms.
|
Digest |
GMS.getDigest()
Grabs the current digest from NAKACK{2}
|
protected Digest |
STABLE.getDigest() |
Digest |
JoinRsp.getDigest() |
Digest |
StreamingStateTransfer.StateHeader.getDigest() |
Digest |
MergeData.getDigest() |
Digest |
NAKACK.getDigest()
Deprecated.
Returns a message digest: for each member P the highest delivered and received seqno is added
|
Digest |
NAKACK2.getDigest()
Returns a message digest: for each member P the highest delivered and received seqno is added
|
Digest |
STATE_TRANSFER.StateHeader.getDigest() |
Digest |
NAKACK.getDigest(Address mbr)
Deprecated.
|
Digest |
NAKACK2.getDigest(Address mbr) |
protected static Digest |
FLUSH.maxSeqnos(View view,
java.util.List<Digest> digests)
Returns a digest which contains, for all members of view, the highest delivered and received
seqno of all digests
|
protected Digest |
STABLE.readDigest(byte[] buffer,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
static Tuple<View,Digest> |
GMS._readViewAndDigest(byte[] buffer,
int offset,
int length) |
Tuple<View,Digest> |
GMS.getViewAndDigest()
Returns the current view and digest.
|
protected Tuple<java.util.Collection<? extends Address>,Digest> |
FLUSH.readParticipantsAndDigest(byte[] buffer,
int offset,
int length) |
protected Tuple<View,Digest> |
GMS.readViewAndDigest(byte[] buffer,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
void |
GMS.castViewChange(View new_view,
Digest digest,
java.util.Collection<Address> newMembers)
Broadcasts the new view and digest as a VIEW message and waits for acks from existing members
|
protected static short |
GMS.determineFlags(View view,
Digest digest) |
protected void |
STATE_TRANSFER.getStateFromApplication(Address requester,
Digest digest) |
void |
ServerGmsImpl.handleDigestResponse(Address sender,
Digest digest) |
void |
Merger.handleDigestResponse(Address sender,
Digest digest) |
void |
GmsImpl.handleDigestResponse(Address sender,
Digest digest) |
protected void |
STABLE.handleStabilityMessage(Digest stable_digest,
Address sender,
ViewId view_id) |
protected void |
STABLE.handleStableMessage(Digest d,
Address sender,
ViewId view_id)
Digest d contains (a) the highest seqnos deliverable for each sender and (b) the highest seqnos
seen for each member.
|
protected void |
STATE_TRANSFER.handleStateRsp(Digest digest,
Address sender,
byte[] state)
Set the digest and the send the state up to the application
|
protected void |
STABLE.handleUpEvent(STABLE.StableHeader hdr,
Address sender,
Digest digest) |
void |
ParticipantGmsImpl.handleViewChange(View new_view,
Digest digest)
If we are leaving, we have to wait for the view change (last msg in the current view) that
excludes us before we can leave.
|
void |
CoordGmsImpl.handleViewChange(View new_view,
Digest digest)
Called by the GMS when a VIEW is received.
|
void |
GmsImpl.handleViewChange(View new_view,
Digest digest) |
void |
GMS.installView(View new_view,
Digest digest)
Sets the new view and sends a VIEW_CHANGE event up and down the stack.
|
protected static boolean |
NAKACK.isGreaterThanOrEqual(Digest first,
Digest other)
Deprecated.
Returns true if all senders of the current digest have their seqnos >= the ones from other
|
protected static boolean |
NAKACK2.isGreaterThanOrEqual(Digest first,
Digest other)
Returns true if all senders of the current digest have their seqnos >= the ones from other
|
protected static Buffer |
FLUSH.marshal(java.util.Collection<? extends Address> participants,
Digest digest) |
static Buffer |
STABLE.marshal(Digest digest) |
protected static Buffer |
GMS.marshal(View view,
Digest digest) |
void |
GMS.mergeDigest(Digest d)
Send down a MERGE_DIGEST event
|
protected void |
NAKACK2.mergeDigest(Digest digest)
For all members of the digest, adjust the retransmit buffers in xmit_table.
|
protected void |
NAKACK2.overwriteDigest(Digest digest)
Overwrites existing entries, but does NOT remove entries not found in the digest
|
protected java.lang.String |
STABLE.printDigest(Digest digest) |
protected void |
Merger.sendMergeResponse(Address sender,
View view,
Digest digest,
MergeId merge_id)
Send back a response containing view and digest to sender
|
protected void |
STABLE.sendStabilityMessage(Digest tmp,
ViewId view_id)
Schedules a stability message to be mcast after a random number of milliseconds (range 1-5 secs).
|
void |
GMS.setDigest(Digest d)
Send down a SET_DIGEST event
|
protected void |
NAKACK2.setDigest(Digest digest)
Creates a retransmit buffer for each sender in the digest according to the sender's seqno.
|
protected void |
NAKACK2.setDigest(Digest digest,
boolean merge)
Sets or merges the digest.
|
protected void |
NAKACK2.stable(Digest digest)
Garbage collect messages that have been seen by all members.
|
protected void |
STABLE.startStabilityTask(Digest d,
ViewId view_id,
long delay) |
protected void |
STABLE.updateLocalDigest(Digest d,
Address sender)
Update my own digest from a digest received by somebody else.
|
protected static boolean |
GMS.writeAddresses(View view,
Digest digest) |
Modifier and Type | Method and Description |
---|---|
protected static Digest |
FLUSH.maxSeqnos(View view,
java.util.List<Digest> digests)
Returns a digest which contains, for all members of view, the highest delivered and received
seqno of all digests
|
protected static boolean |
FLUSH.same(java.util.List<Digest> digests) |
Constructor and Description |
---|
JoinRsp(View v,
Digest d) |
MergeData(Address sender,
View view,
Digest digest) |
MergeData(Address sender,
View view,
Digest digest,
boolean merge_rejected) |
StabilitySendTask(Digest d,
ViewId view_id) |
StateHeader(byte type,
Digest digest) |
StateHeader(byte type,
Digest digest) |
StateHeader(byte type,
IpAddress bind_addr,
Digest digest) |
Modifier and Type | Class and Description |
---|---|
class |
MutableDigest
A mutable version of Digest.
|
Modifier and Type | Method and Description |
---|---|
Digest |
Digest.copy() |
Modifier and Type | Method and Description |
---|---|
MutableDigest |
MutableDigest.merge(Digest digest)
Adds a digest to this digest.
|
MutableDigest |
MutableDigest.set(Digest digest) |
java.lang.String |
Digest.toString(Digest order) |
Constructor and Description |
---|
Digest(Digest digest)
Only used for testing
|
MutableDigest(Digest digest)
Only used for testing
|
Copyright © 1998-2020 Red Hat. All Rights Reserved.