Class OneMergeHelper

java.lang.Object
org.apache.lucene.index.OneMergeHelper

public class OneMergeHelper extends Object
Allows pkg private access
  • Method Details

    • getSegmentName

      public static String getSegmentName(org.apache.lucene.index.MergePolicy.OneMerge merge)
    • getMbPerSec

      public static double getMbPerSec(Thread thread, org.apache.lucene.index.MergePolicy.OneMerge merge)
      The current MB per second rate limit for this merge.
    • getTotalBytesWritten

      public static long getTotalBytesWritten(Thread thread, org.apache.lucene.index.MergePolicy.OneMerge merge) throws IOException
      Returns total bytes written by this merge.
      Throws:
      IOException