Tabnine Logo
MergeRateLimiter.getMBPerSec
Code IndexAdd Tabnine to your IDE (free)

How to use
getMBPerSec
method
in
org.apache.lucene.index.MergeRateLimiter

Best Java code snippets using org.apache.lucene.index.MergeRateLimiter.getMBPerSec (Showing top 9 results out of 315)

origin: org.apache.lucene/lucene-core

double curMBPerSec = rateLimiter.getMBPerSec();
                nsToSec(rateLimiter.getTotalStoppedNS()),
                nsToSec(rateLimiter.getTotalPausedNS()),
                rateToString(rateLimiter.getMBPerSec())));
origin: org.elasticsearch/elasticsearch

/**
 * The current MB per second rate limit for this merge.
 **/
public static double getMbPerSec(Thread thread, MergePolicy.OneMerge merge) {
  if (thread instanceof ConcurrentMergeScheduler.MergeThread) {
    return ((ConcurrentMergeScheduler.MergeThread) thread).rateLimiter.getMBPerSec();
  }
  assert false: "this is not merge thread";
  return Double.POSITIVE_INFINITY;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

/**
 * The current MB per second rate limit for this merge.
 **/
public static double getMbPerSec(Thread thread, MergePolicy.OneMerge merge) {
  if (thread instanceof ConcurrentMergeScheduler.MergeThread) {
    return ((ConcurrentMergeScheduler.MergeThread) thread).rateLimiter.getMBPerSec();
  }
  assert false: "this is not merge thread";
  return Double.POSITIVE_INFINITY;
}
origin: com.strapdata.elasticsearch/elasticsearch

/**
 * The current MB per second rate limit for this merge.
 **/
public static double getMbPerSec(Thread thread, MergePolicy.OneMerge merge) {
  if (thread instanceof ConcurrentMergeScheduler.MergeThread) {
    return ((ConcurrentMergeScheduler.MergeThread) thread).rateLimiter.getMBPerSec();
  }
  assert false: "this is not merge thread";
  return Double.POSITIVE_INFINITY;
}
origin: apache/servicemix-bundles

/**
 * The current MB per second rate limit for this merge.
 **/
public static double getMbPerSec(Thread thread, MergePolicy.OneMerge merge) {
  if (thread instanceof ConcurrentMergeScheduler.MergeThread) {
    return ((ConcurrentMergeScheduler.MergeThread) thread).rateLimiter.getMBPerSec();
  }
  assert false: "this is not merge thread";
  return Double.POSITIVE_INFINITY;
}
origin: org.infinispan/infinispan-embedded-query

double curMBPerSec = merge.rateLimiter.getMBPerSec();
                nsToSec(merge.rateLimiter.getTotalStoppedNS()),
                nsToSec(merge.rateLimiter.getTotalPausedNS()),
                rateToString(merge.rateLimiter.getMBPerSec())));
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

double curMBPerSec = rateLimiter.getMBPerSec();
                nsToSec(rateLimiter.getTotalStoppedNS()),
                nsToSec(rateLimiter.getTotalPausedNS()),
                rateToString(rateLimiter.getMBPerSec())));
origin: harbby/presto-connectors

double curMBPerSec = merge.rateLimiter.getMBPerSec();
                nsToSec(merge.rateLimiter.getTotalStoppedNS()),
                nsToSec(merge.rateLimiter.getTotalPausedNS()),
                rateToString(merge.rateLimiter.getMBPerSec())));
origin: harbby/presto-connectors

TimeValue.timeValueMillis(throttledMS),
merge.rateLimiter.getTotalBytesWritten()/1024f/1024f,
merge.rateLimiter.getMBPerSec());
org.apache.lucene.indexMergeRateLimitergetMBPerSec

Popular methods of MergeRateLimiter

  • getTotalBytesWritten
    Returns total bytes written by this merge.
  • <init>
    Sole constructor.
  • getTotalPausedNS
    Total NS merge was paused to rate limit IO.
  • getTotalStoppedNS
    Total NS merge was stopped.
  • maybePause
    Returns NO if no pause happened, STOPPED if pause because rate was 0.0 (merge is stopped), PAUSED if
  • setMBPerSec
  • checkAbort
    Throws MergePolicy.MergeAbortedException if this merge was aborted.
  • getAbort
    Returns true if this merge was aborted.
  • setAbort
    Mark this merge aborted.

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • onCreateOptionsMenu (Activity)
  • findViewById (Activity)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • ImageIO (javax.imageio)
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Best plugins for Eclipse
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