Tabnine Logo
GmsImpl.merge
Code IndexAdd Tabnine to your IDE (free)

How to use
merge
method
in
org.jgroups.protocols.pbcast.GmsImpl

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

origin: wildfly/wildfly

protected void process(Collection<Request> requests) {
  if(requests.isEmpty())
    return;
  Request firstReq=requests.iterator().next();
  switch(firstReq.type) {
    case Request.JOIN:
    case Request.JOIN_WITH_STATE_TRANSFER:
    case Request.LEAVE:
    case Request.SUSPECT:
      impl.handleMembershipChange(requests);
      break;
    case Request.MERGE:
      impl.merge(firstReq.views);
      break;
    default:
      log.error("request " + firstReq.type + " is unknown; discarded");
  }
}
origin: org.jboss.eap/wildfly-client-all

protected void process(Collection<Request> requests) {
  if(requests.isEmpty())
    return;
  Request firstReq=requests.iterator().next();
  switch(firstReq.type) {
    case Request.JOIN:
    case Request.JOIN_WITH_STATE_TRANSFER:
    case Request.LEAVE:
    case Request.SUSPECT:
      impl.handleMembershipChange(requests);
      break;
    case Request.MERGE:
      impl.merge(firstReq.views);
      break;
    default:
      log.error("request " + firstReq.type + " is unknown; discarded");
  }
}
origin: org.jgroups/com.springsource.org.jgroups

  if(requests.size() > 1)
    log.error("more than one MERGE request to process, ignoring the others");
  impl.merge(firstReq.coordinators);
  break;
case Request.VIEW:
org.jgroups.protocols.pbcastGmsImplmerge

Popular methods of GmsImpl

  • handleJoinResponse
  • handleLeaveResponse
  • handleMembershipChange
  • handleMergeCancelled
  • handleMergeRequest
  • handleMergeResponse
  • handleMergeView
  • handleViewChange
  • init
  • join
  • leave
  • start
  • leave,
  • start,
  • stop,
  • unsuspect,
  • handleDigestResponse,
  • joinWithStateTransfer,
  • handleExit,
  • handleUpEvent

Popular in Java

  • Updating database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • CodeWhisperer alternatives
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