Class OneMergeHelper


  • public class OneMergeHelper
    extends java.lang.Object
    Allows pkg private access
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double getMbPerSec​(java.lang.Thread thread, org.apache.lucene.index.MergePolicy.OneMerge merge)
      The current MB per second rate limit for this merge.
      static java.lang.String getSegmentName​(org.apache.lucene.index.MergePolicy.OneMerge merge)  
      static long getTotalBytesWritten​(java.lang.Thread thread, org.apache.lucene.index.MergePolicy.OneMerge merge)
      Returns total bytes written by this merge.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSegmentName

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

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

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