Tabnine Logo
STABLE.getDigest
Code IndexAdd Tabnine 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)

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

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • setRequestProperty (URLConnection)
  • putExtra (Intent)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now