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

  • Finding current android device location
  • scheduleAtFixedRate (Timer)
  • findViewById (Activity)
  • requestLocationUpdates (LocationManager)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • 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
  • JCheckBox (javax.swing)
  • Option (scala)
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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