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

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

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

origin: org.apache.lucene/lucene-core

/** Sole constructor. */
public MergeRateLimiter(OneMergeProgress mergeProgress) {
 // Initially no IO limit; use setter here so minPauseCheckBytes is set:
 this.mergeProgress = mergeProgress;
 setMBPerSec(Double.POSITIVE_INFINITY);
}
origin: org.apache.lucene/lucene-core

rateLimiter.setMBPerSec(newMBPerSec);
origin: org.apache.lucene/lucene-core

 rate = targetMBPerSec;
rateLimiter.setMBPerSec(rate);
targetMBPerSecChanged();
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

/** Sole constructor. */
public MergeRateLimiter(OneMergeProgress mergeProgress) {
 // Initially no IO limit; use setter here so minPauseCheckBytes is set:
 this.mergeProgress = mergeProgress;
 setMBPerSec(Double.POSITIVE_INFINITY);
}
origin: org.infinispan/infinispan-embedded-query

/** Sole constructor. */
public MergeRateLimiter(MergePolicy.OneMerge merge) {
 this.merge = merge;
 // Initially no IO limit; use setter here so minPauseCheckBytes is set:
 setMBPerSec(Double.POSITIVE_INFINITY);
}
origin: harbby/presto-connectors

/** Sole constructor. */
public MergeRateLimiter(MergePolicy.OneMerge merge) {
 this.merge = merge;
 // Initially no IO limit; use setter here so minPauseCheckBytes is set:
 setMBPerSec(Double.POSITIVE_INFINITY);
}
origin: org.infinispan/infinispan-embedded-query

merge.rateLimiter.setMBPerSec(newMBPerSec);
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

rateLimiter.setMBPerSec(newMBPerSec);
origin: harbby/presto-connectors

merge.rateLimiter.setMBPerSec(newMBPerSec);
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

 rate = targetMBPerSec;
rateLimiter.setMBPerSec(rate);
targetMBPerSecChanged();
origin: org.infinispan/infinispan-embedded-query

 rate = targetMBPerSec;
newMerge.rateLimiter.setMBPerSec(rate);
targetMBPerSecChanged();
origin: harbby/presto-connectors

 rate = targetMBPerSec;
newMerge.rateLimiter.setMBPerSec(rate);
targetMBPerSecChanged();
org.apache.lucene.indexMergeRateLimitersetMBPerSec

Popular methods of MergeRateLimiter

  • getMBPerSec
  • 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
  • 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

  • Creating JSON documents from java classes using gson
  • putExtra (Intent)
  • getContentResolver (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Best IntelliJ 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