Codota Logo
STABLE.getDigest
Code IndexAdd Codota to your IDE (free)

How to use
getDigest
method
in
org.jgroups.protocols.pbcast.STABLE

Best Java code snippets using org.jgroups.protocols.pbcast.STABLE.getDigest (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: wildfly/wildfly

final MutableDigest d=new MutableDigest(current_view.getMembersRaw()).set(getDigest());
Address dest=send_stable_msgs_to_coord_only? coordinator : null;
if(d.allSet() || d.set(getDigest()).allSet()) // try once more if the first digest didn't match
  log.trace("%s: sending stable msg to %s: %s",
       local_addr, (send_stable_msgs_to_coord_only? coordinator : "cluster"), printDigest(d));
origin: org.jgroups/com.springsource.org.jgroups

public void runMessageGarbageCollection() {
  Digest copy=getDigest();
  sendStableMessage(copy);
}
origin: org.jgroups/com.springsource.org.jgroups

@GuardedBy("lock")
private void resetDigest() {
  Digest tmp=getDigest();
  digest.replace(tmp);
  if(log.isTraceEnabled())
    log.trace("resetting digest from NAKACK: " + digest.printHighestDeliveredSeqnos());
  votes.clear();
}
origin: org.jgroups/com.springsource.org.jgroups

received.unlock();
locked=false;
Digest my_digest=getDigest();  // asks the NAKACK protocol for the current digest,
if(log.isTraceEnabled())
  log.trace("setting latest_local_digest from NAKACK: " + my_digest.printHighestDeliveredSeqnos());
origin: org.jboss.eap/wildfly-client-all

final MutableDigest d=new MutableDigest(current_view.getMembersRaw()).set(getDigest());
Address dest=send_stable_msgs_to_coord_only? coordinator : null;
if(d.allSet() || d.set(getDigest()).allSet()) // try once more if the first digest didn't match
  log.trace("%s: sending stable msg to %s: %s",
       local_addr, (send_stable_msgs_to_coord_only? coordinator : "cluster"), printDigest(d));
org.jgroups.protocols.pbcastSTABLEgetDigest

Popular methods of STABLE

  • addVote
    Adds mbr to votes and returns true if we have all the votes, otherwise false.
  • allVotesReceived
    Votes is already locked and guaranteed to be non-null
  • handleRegularMessage
  • handleStabilityMessage
  • handleStableMessage
    Digest d contains (a) the highest seqnos deliverable for each sender and (b) the highest seqnosseen
  • handleViewChange
  • resetDigest
  • resume
  • sendStabilityMessage
    Schedules a stability message to be mcast after a random number of milliseconds (range [1-stability_
  • sendStableMessage
    Broadcasts a STABLE message of the current digest to all members (or the coordinator only). The mess
  • startResumeTask
  • startStabilityTask
  • startResumeTask,
  • startStabilityTask,
  • startStableTask,
  • stopResumeTask,
  • stopStabilityTask,
  • stopStableTask,
  • suspend,
  • updateLocalDigest,
  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • getSystemService (Context)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Collectors (java.util.stream)
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now