Codota Logo
STABLE.suspend
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
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.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);
}
org.jgroups.protocols.pbcastSTABLEsuspend

Javadoc

When true, don't take part in garbage collection: neither send STABLE messages nor handle STABILITY messages

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
  • 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
  • sendStableMessage,
  • startResumeTask,
  • startStabilityTask,
  • startStableTask,
  • stopResumeTask,
  • stopStabilityTask,
  • stopStableTask,
  • updateLocalDigest,
  • <init>

Popular in Java

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • startActivity (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Option (scala)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now