congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
STABLE.handleViewChange
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: wildfly/wildfly

public Object up(Event evt) {
  switch(evt.getType()) {
    case Event.VIEW_CHANGE:
      Object retval=up_prot.up(evt);
      handleViewChange(evt.getArg());
      return retval;
  }
  return up_prot.up(evt);
}
origin: wildfly/wildfly

public Object down(Event evt) {
  switch(evt.getType()) {
    case Event.VIEW_CHANGE:
      Object retval=down_prot.down(evt);
      handleViewChange(evt.getArg());
      return retval;
    case Event.SUSPEND_STABLE:
      long timeout=MAX_SUSPEND_TIME;
      Object t=evt.getArg();
      if(t != null && t instanceof Long)
        timeout=(Long)t;
      suspend(timeout);
      break;
    case Event.RESUME_STABLE:
      resume();
      break;
    case Event.SET_LOCAL_ADDRESS:
      local_addr=evt.getArg();
      break;
  }
  return down_prot.down(evt);
}
origin: org.jboss.eap/wildfly-client-all

public Object up(Event evt) {
  switch(evt.getType()) {
    case Event.VIEW_CHANGE:
      Object retval=up_prot.up(evt);
      handleViewChange(evt.getArg());
      return retval;
  }
  return up_prot.up(evt);
}
origin: org.jgroups/com.springsource.org.jgroups

public Object down(Event evt) {
  switch(evt.getType()) {
    case Event.VIEW_CHANGE:
      Object retval=down_prot.down(evt);
      View v=(View)evt.getArg();
      handleViewChange(v);
    return retval;
  case Event.SUSPEND_STABLE:
    long timeout=0;
    Object t=evt.getArg();
    if(t != null && t instanceof Long)
      timeout=(Long)t;
    suspend(timeout);
    break;
  case Event.RESUME_STABLE:
    resume();
    break;
  }
  return down_prot.down(evt);
}
origin: org.jboss.eap/wildfly-client-all

public Object down(Event evt) {
  switch(evt.getType()) {
    case Event.VIEW_CHANGE:
      Object retval=down_prot.down(evt);
      handleViewChange(evt.getArg());
      return retval;
    case Event.SUSPEND_STABLE:
      long timeout=MAX_SUSPEND_TIME;
      Object t=evt.getArg();
      if(t != null && t instanceof Long)
        timeout=(Long)t;
      suspend(timeout);
      break;
    case Event.RESUME_STABLE:
      resume();
      break;
    case Event.SET_LOCAL_ADDRESS:
      local_addr=evt.getArg();
      break;
  }
  return down_prot.down(evt);
}
origin: org.jgroups/com.springsource.org.jgroups

Object retval=up_prot.up(evt);
View view=(View)evt.getArg();
handleViewChange(view);
return retval;
org.jgroups.protocols.pbcastSTABLEhandleViewChange

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
  • handleStableMessage
    Digest d contains (a) the highest seqnos deliverable for each sender and (b) the highest seqnosseen
  • 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

  • Running tasks concurrently on multiple threads
  • findViewById (Activity)
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • 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
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • 21 Best Atom Packages for 2021
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