public abstract class SuppressingConcurrentMergeScheduler extends ConcurrentMergeScheduler
ConcurrentMergeScheduler that ignores AlreadyClosedException.ConcurrentMergeScheduler.MergeThreadcompareByMergeDocCount, DEFAULT_MAX_MERGE_COUNT, DEFAULT_MAX_THREAD_COUNT, dir, mergeThreadCount, mergeThreads, writer| Constructor and Description |
|---|
SuppressingConcurrentMergeScheduler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleMergeException(Throwable exc)
Called when an exception is hit in a background merge
thread
|
protected abstract boolean |
isOK(Throwable t) |
close, doMerge, getMaxMergeCount, getMaxThreadCount, getMergeThread, getMergeThreadPriority, merge, mergeThreadCount, message, setMaxMergesAndThreads, setMergeThreadPriority, sync, toString, updateMergeThreads, verboseprotected void handleMergeException(Throwable exc)
ConcurrentMergeSchedulerhandleMergeException in class ConcurrentMergeSchedulerprotected abstract boolean isOK(Throwable t)
Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.