Tabnine Logo
FLUSH.sendBlockUpToChannel
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: wildfly/wildfly

private Object handleConnect(Event evt, boolean waitForUnblock) {
  if (sentBlock.compareAndSet(false, true)) {
    sendBlockUpToChannel();
  }
  Object result = down_prot.down(evt);
  if (result instanceof Throwable) {
    // set the var back to its original state if we cannot
    // connect successfully
    sentBlock.set(false);
  }
  if(waitForUnblock)
    waitForUnblock();
  return result;
}
origin: wildfly/wildfly

sendBlockUpToChannel();
blockMutex.lock();
try {
origin: org.jboss.eap/wildfly-client-all

private Object handleConnect(Event evt, boolean waitForUnblock) {
  if (sentBlock.compareAndSet(false, true)) {
    sendBlockUpToChannel();
  }
  Object result = down_prot.down(evt);
  if (result instanceof Throwable) {
    // set the var back to its original state if we cannot
    // connect successfully
    sentBlock.set(false);
  }
  if(waitForUnblock)
    waitForUnblock();
  return result;
}
origin: org.jgroups/com.springsource.org.jgroups

private void handleStartFlush(Message msg, FlushHeader fh) {
  byte oldPhase = flushPhase.transitionToFirstPhase();
  if (oldPhase == FlushPhase.START_PHASE) {
    sendBlockUpToChannel();
    onStartFlush(msg.getSrc(), fh);
  } else if (oldPhase == FlushPhase.FIRST_PHASE) {
origin: org.jboss.eap/wildfly-client-all

sendBlockUpToChannel();
blockMutex.lock();
try {
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.pbcastFLUSHsendBlockUpToChannel

Popular methods of FLUSH

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

Popular in Java

  • Making http requests using okhttp
  • findViewById (Activity)
  • getExternalFilesDir (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top plugins for Android Studio
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