Uses of Class
org.jgroups.util.Digest
Packages that use Digest
Package
Description
Supports probabilistic broadcasts.
Provides useful functionality which cannot be assigned to any particular other package.
-
Uses of Digest in org.jgroups.protocols.pbcast
Fields in org.jgroups.protocols.pbcast with type parameters of type DigestModifier and TypeFieldDescriptionprotected final BoundedList<Digest> NAKACK.stability_msgsBoundedList, keeps the last 10 stability messages Methods in org.jgroups.protocols.pbcast that return DigestModifier and TypeMethodDescriptionGMS.getDigest()Sends down a GET_DIGEST event and waits for the GET_DIGEST_OK response, or timeout, whichever occurs firstJoinRsp.getDigest()MergeData.getDigest()NAKACK.getDigest()Returns a message digest: for each member P the lowest, highest delivered and highest received seqno is addedSTATE_TRANSFER.StateHeader.getDigest()STREAMING_STATE_TRANSFER.StateHeader.getDigest()Methods in org.jgroups.protocols.pbcast with parameters of type DigestModifier and TypeMethodDescriptionvoidvoidGMS.castViewChangeWithDest(View new_view, Digest digest, JoinRsp jr, Collection<Address> newMembers) Broadcasts the new view and digest, and waits for acks from all members in the list given as argument.voidCoordGmsImpl.handleDigestResponse(Address sender, Digest digest) voidGmsImpl.handleDigestResponse(Address sender, Digest digest) voidClientGmsImpl.handleViewChange(View new_view, Digest digest) Does nothing.voidCoordGmsImpl.handleViewChange(View new_view, Digest digest) Called by the GMS when a VIEW is received.abstract voidGmsImpl.handleViewChange(View new_view, Digest digest) voidParticipantGmsImpl.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.voidGMS.installView(View new_view, Digest digest) Sets the new view and sends a VIEW_CHANGE event up and down the stack.voidGMS.mergeDigest(Digest d) Send down a MERGE_DIGEST eventvoidSend down a SET_DIGEST eventvoidConstructors in org.jgroups.protocols.pbcast with parameters of type DigestModifierConstructorDescriptionStableHeader(int type, Digest digest) StateHeader(byte type, Address sender, long id, Digest digest) StateHeader(byte type, Address sender, long id, Digest digest, String state_id) StateHeader(byte type, Address sender, long id, Digest digest) StateHeader(byte type, Address sender, IpAddress bind_addr, Digest digest, String state_id) -
Uses of Digest in org.jgroups.util
Subclasses of Digest in org.jgroups.utilModifier and TypeClassDescriptionclassA mutable version of Digest (which is immutableFields in org.jgroups.util declared as DigestMethods in org.jgroups.util that return DigestModifier and TypeMethodDescriptionDigest.copy()Digest.difference(Digest other) Digest.highestSequence(Digest other) Methods in org.jgroups.util with parameters of type DigestModifier and TypeMethodDescriptionvoidDigest.difference(Digest other) Digest.highestSequence(Digest other) booleanDigest.isGreaterThanOrEqual(Digest other) Returns true if all senders of the current digest have their seqnos >= the ones from othervoidAdds a digest to this digest.voidbooleanDigest.sameSenders(Digest other) Compares two digests and returns true if the senders are the same, otherwise false.Constructors in org.jgroups.util with parameters of type Digest