## Uses of Class
org.jgroups.util.Digest

- Packages that use Digest
  Package | Description
  --- | ---
  org.jgroups.protocols.pbcast | Supports probabilistic broadcasts.
  org.jgroups.util | 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 Digest
    Modifier and Type | Field and Description
    --- | ---
    `protected BoundedList<Digest>` | NAKACK.`stability_msgs` BoundedList, keeps the last 10 stability messages

    Methods in org.jgroups.protocols.pbcast that return Digest
    Modifier and Type | Method and Description
    --- | ---
    `Digest` | MergeData.`getDigest()`
    `Digest` | STATE_TRANSFER.StateHeader.`getDigest()`
    `Digest` | JoinRsp.`getDigest()`
    `Digest` | NAKACK.`getDigest()` Returns a message digest: for each member P the lowest, highest delivered and highest received seqno is added
    `Digest` | STREAMING_STATE_TRANSFER.StateHeader.`getDigest()`
    `Digest` | GMS.`getDigest()` Sends down a GET_DIGEST event and waits for the GET_DIGEST_OK response, or timeout, whichever occurs first

    Methods in org.jgroups.protocols.pbcast with parameters of type Digest
    Modifier and Type | Method and Description
    --- | ---
    `void` | FLUSH.FlushHeader.`addDigest(Digest digest)`
    `void` | GMS.`castViewChangeWithDest(View new_view, Digest digest, JoinRsp jr, java.util.Collection<Address> newMembers)` Broadcasts the new view and digest, and waits for acks from all members in the list given as argument.
    `void` | Merger.`handleDigestResponse(Address sender, Digest digest)`
    `void` | GmsImpl.`handleDigestResponse(Address sender, Digest digest)`
    `void` | ServerGmsImpl.`handleDigestResponse(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` | GmsImpl.`handleViewChange(View new_view, Digest digest)`
    `void` | CoordGmsImpl.`handleViewChange(View new_view, Digest digest)` Called by the GMS when a VIEW is received.
    `void` | GMS.`installView(View new_view, Digest digest)` Sets the new view and sends a VIEW_CHANGE event up and down the stack.
    `void` | GMS.`mergeDigest(Digest d)` Send down a MERGE_DIGEST event
    `void` | MergeData.`setDigest(Digest d)`
    `void` | GMS.`setDigest(Digest d)` Send down a SET_DIGEST event

    Constructors in org.jgroups.protocols.pbcast with parameters of type Digest
    Constructor and Description
    `JoinRsp(View v, Digest d)`
    `MergeData(Address sender, View view, Digest digest)`
    `STABLE.StableHeader(int type, Digest digest)`
    `STATE_TRANSFER.StateHeader(byte type, Address sender, long id, Digest digest)`
    `STATE_TRANSFER.StateHeader(byte type, Address sender, long id, Digest digest, java.lang.String state_id)`
    `STREAMING_STATE_TRANSFER.StateHeader(byte type, Address sender, IpAddress bind_addr, Digest digest, java.lang.String state_id)`
    `STREAMING_STATE_TRANSFER.StateHeader(byte type, Address sender, long id, Digest digest)`

  - ### Uses of Digest in org.jgroups.util

    Subclasses of Digest in org.jgroups.util
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MutableDigest` A mutable version of Digest (which is immutable

    Fields in org.jgroups.util declared as Digest
    Modifier and Type | Field and Description
    --- | ---
    `static Digest` | Digest.`EMPTY_DIGEST`

    Methods in org.jgroups.util that return Digest
    Modifier and Type | Method and Description
    --- | ---
    `Digest` | Digest.`copy()`
    `Digest` | Digest.`difference(Digest other)`
    `Digest` | Digest.`highestSequence(Digest other)`

    Methods in org.jgroups.util with parameters of type Digest
    Modifier and Type | Method and Description
    --- | ---
    `void` | MutableDigest.`add(Digest digest)`
    `Digest` | Digest.`difference(Digest other)`
    `Digest` | Digest.`highestSequence(Digest other)`
    `boolean` | Digest.`isGreaterThanOrEqual(Digest other)` Returns true if all senders of the current digest have their seqnos >= the ones from other
    `void` | MutableDigest.`merge(Digest digest)` Adds a digest to this digest.
    `void` | MutableDigest.`replace(Digest d)`
    `boolean` | Digest.`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
    Constructor and Description
    `Digest(Digest d)`
    `MutableDigest(Digest digest)`

Copyright © 1998-2009 Bela Ban / Red Hat. All Rights Reserved.