congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
FLUSH.resetForNextFlush
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: wildfly/wildfly

private void onStopFlush() {
  if (stats && startFlushTime > 0) {
    long stopFlushTime = System.currentTimeMillis();
    totalTimeInFlush += (stopFlushTime - startFlushTime);
    if (numberOfFlushes > 0) {
      averageFlushDuration = totalTimeInFlush / (double) numberOfFlushes;
    }
    startFlushTime = 0;
  }
  if (log.isDebugEnabled())
    log.debug(localAddress
        + ": received STOP_FLUSH, unblocking FLUSH.down() and sending UNBLOCK up");
  
  resetForNextFlush();
  if (sentUnblock.compareAndSet(false, true)) {
    // ensures that we do not repeat unblock event
    sendUnBlockUpToChannel();
  }       
}
origin: wildfly/wildfly

    resetForNextFlush();
  break;
case FlushHeader.FLUSH_NOT_COMPLETED:
origin: org.jboss.eap/wildfly-client-all

private void onStopFlush() {
  if (stats && startFlushTime > 0) {
    long stopFlushTime = System.currentTimeMillis();
    totalTimeInFlush += (stopFlushTime - startFlushTime);
    if (numberOfFlushes > 0) {
      averageFlushDuration = totalTimeInFlush / (double) numberOfFlushes;
    }
    startFlushTime = 0;
  }
  if (log.isDebugEnabled())
    log.debug(localAddress
        + ": received STOP_FLUSH, unblocking FLUSH.down() and sending UNBLOCK up");
  
  resetForNextFlush();
  if (sentUnblock.compareAndSet(false, true)) {
    // ensures that we do not repeat unblock event
    sendUnBlockUpToChannel();
  }       
}
origin: org.jboss.eap/wildfly-client-all

    resetForNextFlush();
  break;
case FlushHeader.FLUSH_NOT_COMPLETED:
org.jgroups.protocols.pbcastFLUSHresetForNextFlush

Popular methods of FLUSH

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

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • scheduleAtFixedRate (Timer)
  • getApplicationContext (Context)
  • String (java.lang)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Top 25 Plugins for Webstorm
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