## Uses of Class
org.apache.lucene.index.MergeScheduler

- Packages that use MergeScheduler
  Package | Description
  --- | ---
  org.apache.lucene.index | Code to maintain and access indices.

- - ### Uses of MergeScheduler in org.apache.lucene.index

    Subclasses of MergeScheduler in org.apache.lucene.index
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConcurrentMergeScheduler` A `MergeScheduler` that runs each merge using a separate thread, up until a maximum number of threads (`ConcurrentMergeScheduler.setMaxThreadCount(int)`) at which when a merge is needed, the thread(s) that are updating the index will pause until one or more merges completes.
    `class` | `SerialMergeScheduler` A `MergeScheduler` that simply does each merge sequentially, using the current thread.

    Methods in org.apache.lucene.index that return MergeScheduler
    Modifier and Type | Method and Description
    --- | ---
    `MergeScheduler` | IndexWriter.`getMergeScheduler()` Expert: returns the current MergePolicy in use by this writer.

    Methods in org.apache.lucene.index with parameters of type MergeScheduler
    Modifier and Type | Method and Description
    --- | ---
    `void` | IndexWriter.`setMergeScheduler(MergeScheduler mergeScheduler)` Expert: set the merge scheduler used by this writer.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.