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

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

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

origin: wildfly/wildfly

impl.leave(evt.getArg());
if(!(impl instanceof CoordGmsImpl)) {
origin: org.jgroups/com.springsource.org.jgroups

/**
 * Loop: determine coord. If coord is me --> handleLeave().
 * Else send handleLeave() to coord until success
 */
public void leave(Address mbr) {
  Address coord;
  int max_tries=3;
  Object result;
  leave_promise.reset();
  if(mbr.equals(gms.local_addr))
    leaving=true;
  while((coord=gms.determineCoordinator()) != null && max_tries-- > 0) {
    if(gms.local_addr.equals(coord)) {            // I'm the coordinator
      gms.becomeCoordinator();
      // gms.getImpl().handleLeave(mbr, false);    // regular leave
      gms.getImpl().leave(mbr);    // regular leave
      return;
    }
    if(log.isDebugEnabled()) log.debug("sending LEAVE request to " + coord + " (local_addr=" + gms.local_addr + ")");
    sendLeaveMessage(coord, mbr);
    result=leave_promise.getResult(gms.leave_timeout);
    if(result != null)
      break;
  }
  gms.becomeClient();
}
origin: org.jgroups/com.springsource.org.jgroups

impl.leave((Address)evt.getArg());
if(!(impl instanceof CoordGmsImpl)) {
origin: org.jboss.eap/wildfly-client-all

impl.leave(evt.getArg());
if(!(impl instanceof CoordGmsImpl)) {
org.jgroups.protocols.pbcastGmsImplleave

Popular methods of GmsImpl

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

Popular in Java

  • Reading from database using SQL prepared statement
  • setScale (BigDecimal)
  • scheduleAtFixedRate (Timer)
  • getSystemService (Context)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Collectors (java.util.stream)
  • JTable (javax.swing)
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top Sublime Text 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