public abstract class SuppressingConcurrentMergeScheduler extends ConcurrentMergeScheduler
ConcurrentMergeScheduler
that ignores AlreadyClosedException.ConcurrentMergeScheduler.MergeThread
compareByMergeDocCount, 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, verbose
protected void handleMergeException(Throwable exc)
ConcurrentMergeScheduler
handleMergeException
in class ConcurrentMergeScheduler
protected abstract boolean isOK(Throwable t)
Copyright © 2000–2017 The Apache Software Foundation. All rights reserved.