Codota Logo
FLUSH.blockMessageDuringFlush
Code IndexAdd Codota to your IDE (free)

How to use
blockMessageDuringFlush
method
in
org.jgroups.protocols.pbcast.FLUSH

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: wildfly/wildfly

public Object down(Message msg) {
  if(!bypass) {
    Address dest = msg.getDest();
    if (dest == null) { // mcasts
      FlushHeader fh =msg.getHeader(this.id);
      if (fh != null && fh.type == FlushHeader.FLUSH_BYPASS) {
        return down_prot.down(msg);
      } else {
        blockMessageDuringFlush();
      }
    } else {
      // unicasts are irrelevant in virtual synchrony, let them through
      return down_prot.down(msg);
    }
  }
  return down_prot.down(msg);
}
origin: org.jboss.eap/wildfly-client-all

public Object down(Message msg) {
  if(!bypass) {
    Address dest = msg.getDest();
    if (dest == null) { // mcasts
      FlushHeader fh =msg.getHeader(this.id);
      if (fh != null && fh.type == FlushHeader.FLUSH_BYPASS) {
        return down_prot.down(msg);
      } else {
        blockMessageDuringFlush();
      }
    } else {
      // unicasts are irrelevant in virtual synchrony, let them through
      return down_prot.down(msg);
    }
  }
  return down_prot.down(msg);
}
origin: org.jgroups/com.springsource.org.jgroups

public Object down(Event evt) {
  switch (evt.getType()) {
  case Event.MSG:
    Message msg = (Message) evt.getArg();
    FlushHeader fh = (FlushHeader) msg.getHeader(getName());
    if (fh != null && fh.type == FlushHeader.FLUSH_BYPASS) {
      return down_prot.down(evt);
    } else {
      blockMessageDuringFlush();
    }
    break;
  case Event.GET_STATE:
    blockMessageDuringFlush();
    break;
  case Event.CONNECT:
    sendBlockUpToChannel();
    break;
  case Event.SUSPEND:
    return startFlush(evt, 3, false);
  case Event.RESUME:
    onResume();
    return null;
  }
  return down_prot.down(evt);
}
org.jgroups.protocols.pbcastFLUSHblockMessageDuringFlush

Popular methods of FLUSH

  • currentViewId
  • down
  • findHighestSequences
  • handleFlushReconcile
  • handleStartFlush
  • hasVirtualSynchronyGaps
  • isCurrentFlushMessage
  • onFlushCompleted
  • onFlushReconcileOK
  • onResume
  • onStartFlush
  • onStopFlush
  • onStartFlush,
  • onStopFlush,
  • onSuspect,
  • onSuspend,
  • onViewChange,
  • rejectFlush,
  • sendBlockUpToChannel,
  • startFlush,
  • handleConnect

Popular in Java

  • Finding current android device location
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • putExtra (Intent)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • IsNull (org.hamcrest.core)
    Is the value null?
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