Tabnine Logo
HystrixRollingNumber$CumulativeSum.addBucket
Code IndexAdd Tabnine to your IDE (free)

How to use
addBucket
method
in
com.netflix.hystrix.util.HystrixRollingNumber$CumulativeSum

Best Java code snippets using com.netflix.hystrix.util.HystrixRollingNumber$CumulativeSum.addBucket (Showing top 4 results out of 315)

origin: PipelineAI/pipeline

cumulativeSum.addBucket(lastBucket);
origin: com.netflix.hystrix/hystrix-core

cumulativeSum.addBucket(lastBucket);
origin: com.netflix.hystrix/hystrix-core

/**
 * Force a reset of all rolling counters (clear all buckets) so that statistics start being gathered from scratch.
 * <p>
 * This does NOT reset the CumulativeSum values.
 */
public void reset() {
  // if we are resetting, that means the lastBucket won't have a chance to be captured in CumulativeSum, so let's do it here
  Bucket lastBucket = buckets.peekLast();
  if (lastBucket != null) {
    cumulativeSum.addBucket(lastBucket);
  }
  // clear buckets so we start over again
  buckets.clear();
}
origin: PipelineAI/pipeline

/**
 * Force a reset of all rolling counters (clear all buckets) so that statistics start being gathered from scratch.
 * <p>
 * This does NOT reset the CumulativeSum values.
 */
public void reset() {
  // if we are resetting, that means the lastBucket won't have a chance to be captured in CumulativeSum, so let's do it here
  Bucket lastBucket = buckets.peekLast();
  if (lastBucket != null) {
    cumulativeSum.addBucket(lastBucket);
  }
  // clear buckets so we start over again
  buckets.clear();
}
com.netflix.hystrix.utilHystrixRollingNumber$CumulativeSumaddBucket

Popular methods of HystrixRollingNumber$CumulativeSum

  • get
  • getAdder
  • getMaxUpdater

Popular in Java

  • Start an intent from android
  • getContentResolver (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Runner (org.openjdk.jmh.runner)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top Sublime Text plugins
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