- <init>
Sole constructor, with all settings set to default values.
- doMerge
Does the actual merge, by calling IndexWriter#merge
- getMergeThread
Create and return a new MergeThread
- handleMergeException
Called when an exception is hit in a background merge thread
- mergeThreadCount
Returns the number of merge threads that are alive, ignoring the calling thread
if it is a merge thr
- message
- sync
Wait for any running merge threads to finish. This call is not interruptible as
used by #close().
- setDefaultMaxMergesAndThreads
Sets max merges and threads to proper defaults for rotational or non-rotational
storage.
- bytesToMB
- doStall
Called from #maybeStall to pause the calling thread for a bit.
- isBacklog
- maybeStall
This is invoked by #merge to possibly stall the incoming thread when there are
too many merges runni