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

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

Best Java code snippets using org.jgroups.protocols.pbcast.STABLE.resume (Showing top 5 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 void run() {
  if(suspended)
    log.warn("ResumeTask resumed message garbage collection - this should be done by a RESUME_STABLE event; " +
          "check why this event was not received (or increase max_suspend_time for large state transfers)");
  resume();
}
public String toString() {return STABLE.class.getSimpleName() + ": ResumeTask";}
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 void run() {
  if(suspended)
    log.warn("ResumeTask resumed message garbage collection - this should be done by a RESUME_STABLE event; " +
          "check why this event was not received (or increase max_suspend_time for large state transfers)");
  resume();
}
public String toString() {return STABLE.class.getSimpleName() + ": ResumeTask";}
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.pbcastSTABLEresume

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
  • 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

  • Making http post requests using okhttp
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • runOnUiThread (Activity)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Collectors (java.util.stream)
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
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