Tabnine Logo
STABLE.handleStableMessage
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: wildfly/wildfly

protected void handleUpEvent(StableHeader hdr, Address sender, Digest digest) {
  switch(hdr.type) {
    case StableHeader.STABLE_GOSSIP:
      handleStableMessage(digest, sender, hdr.view_id);
      break;
    case StableHeader.STABILITY:
      handleStabilityMessage(digest, sender, hdr.view_id);
      break;
    default:
      log.error("%s: StableHeader type %s not known", local_addr, hdr.type);
  }
}
origin: org.jboss.eap/wildfly-client-all

protected void handleUpEvent(StableHeader hdr, Address sender, Digest digest) {
  switch(hdr.type) {
    case StableHeader.STABLE_GOSSIP:
      handleStableMessage(digest, sender, hdr.view_id);
      break;
    case StableHeader.STABILITY:
      handleStabilityMessage(digest, sender, hdr.view_id);
      break;
    default:
      log.error("%s: StableHeader type %s not known", local_addr, hdr.type);
  }
}
origin: org.jgroups/com.springsource.org.jgroups

  handleStableMessage(msg.getSrc(), hdr.stableDigest);
  break;
case StableHeader.STABILITY:
org.jgroups.protocols.pbcastSTABLEhandleStableMessage

Javadoc

Digest d contains (a) the highest seqnos deliverable for each sender and (b) the highest seqnos seen for each member. (Difference: with 1,2,4,5, the highest seqno seen is 5, whereas the highest seqno deliverable is 2). The minimum of all highest seqnos deliverable will be taken to send a stability message, which results in garbage collection of messages lower than the ones in the stability vector. The maximum of all seqnos will be taken to trigger possible retransmission of last missing seqno (see DESIGN for details).

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
  • getDigest
  • handleRegularMessage
  • handleStabilityMessage
  • 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

  • Start an intent from android
  • runOnUiThread (Activity)
  • setRequestProperty (URLConnection)
  • setContentView (Activity)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best plugins for Eclipse
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