|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.index.MergeScheduler
public abstract class MergeScheduler
Expert: IndexWriter uses an instance
implementing this interface to execute the merges
selected by a MergePolicy. The default
MergeScheduler is ConcurrentMergeScheduler.
| Constructor Summary | |
|---|---|
protected |
MergeScheduler()
Sole constructor. |
| Method Summary | |
|---|---|
abstract void |
close()
Close this MergeScheduler. |
abstract void |
merge(IndexWriter writer)
Run the merges provided by IndexWriter.getNextMerge(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected MergeScheduler()
| Method Detail |
|---|
public abstract void merge(IndexWriter writer)
throws IOException
IndexWriter.getNextMerge().
IOException
public abstract void close()
throws IOException
close in interface CloseableIOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||