Package org.apache.lucene.index
Class ConcurrentMergeScheduler.MergeThread
java.lang.Object
java.lang.Thread
org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
- All Implemented Interfaces:
Comparable<ConcurrentMergeScheduler.MergeThread>
,Runnable
- Enclosing class:
- ConcurrentMergeScheduler
protected class ConcurrentMergeScheduler.MergeThread
extends Thread
implements Comparable<ConcurrentMergeScheduler.MergeThread>
Runs a merge thread to execute a single merge, then exits.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorDescriptionMergeThread
(MergeScheduler.MergeSource mergeSource, MergePolicy.OneMerge merge) Sole constructor. -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
MergeThread
Sole constructor.
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ConcurrentMergeScheduler.MergeThread>
-
run
public void run()
-