protected class ConcurrentMergeScheduler.MergeThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ConcurrentMergeScheduler.MergeThread(IndexWriter writer,
MergePolicy.OneMerge startMerge) |
Modifier and Type | Method and Description |
---|---|
MergePolicy.OneMerge |
getCurrentMerge() |
MergePolicy.OneMerge |
getRunningMerge() |
void |
run() |
void |
setRunningMerge(MergePolicy.OneMerge merge) |
void |
setThreadPriority(int pri) |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public ConcurrentMergeScheduler.MergeThread(IndexWriter writer, MergePolicy.OneMerge startMerge) throws IOException
IOException
public void setRunningMerge(MergePolicy.OneMerge merge)
public MergePolicy.OneMerge getRunningMerge()
public MergePolicy.OneMerge getCurrentMerge()
public void setThreadPriority(int pri)