public class OnGoingMerge
extends Object
Represents a single on going merge within an index.
-
Constructor Summary
Constructors
OnGoingMerge(org.apache.lucene.index.MergePolicy.OneMerge merge)
-
Method Summary
A unique id for the merge.
List<org.apache.lucene.index.SegmentCommitInfo>
The list of segments that are being merged.
long
Returns the total size in bytes of this merge.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OnGoingMerge
public OnGoingMerge(org.apache.lucene.index.MergePolicy.OneMerge merge)
-
Method Details
-
getId
A unique id for the merge.
-
getTotalBytesSize
public long getTotalBytesSize()
Returns the total size in bytes of this merge. Note that this does not
indicate the size of the merged segment, but the
input total size.
-
getMergedSegments
public List<org.apache.lucene.index.SegmentCommitInfo> getMergedSegments()
The list of segments that are being merged.