Package org.apache.lucene.index
Class OneMergeHelper
java.lang.Object
org.apache.lucene.index.OneMergeHelper
Allows pkg private access
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
getMbPerSec(Thread thread, org.apache.lucene.index.MergePolicy.OneMerge merge)
The current MB per second rate limit for this merge.static String
getSegmentName(org.apache.lucene.index.MergePolicy.OneMerge merge)
static long
getTotalBytesWritten(Thread thread, org.apache.lucene.index.MergePolicy.OneMerge merge)
Returns total bytes written by this merge.
-
Method Details
-
getSegmentName
-
getMbPerSec
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 IOExceptionReturns total bytes written by this merge.- Throws:
IOException
-