## Uses of Interface
org.apache.lucene.util.TwoPhaseCommit

Packages that use TwoPhaseCommit
org.apache.lucene.facet.taxonomy: Taxonomy of Categories
org.apache.lucene.facet.taxonomy.directory: Taxonomy implemented using a Lucene-Index
org.apache.lucene.index: Code to maintain and access indices.
org.apache.lucene.util: Some utility classes.

Uses of TwoPhaseCommit in org.apache.lucene.facet.taxonomy

Subinterfaces of TwoPhaseCommit in org.apache.lucene.facet.taxonomy
`interface` `TaxonomyWriter` TaxonomyWriter is the interface which the faceted-search library uses to dynamically build the taxonomy at indexing time.

Uses of TwoPhaseCommit in org.apache.lucene.facet.taxonomy.directory

Classes in org.apache.lucene.facet.taxonomy.directory that implement TwoPhaseCommit
`class` `DirectoryTaxonomyWriter` `TaxonomyWriter` which uses a `Directory` to store the taxonomy information on disk, and keeps an additional in-memory cache of some or all categories.

Uses of TwoPhaseCommit in org.apache.lucene.index

Classes in org.apache.lucene.index that implement TwoPhaseCommit
`class` `IndexWriter` An `IndexWriter` creates and maintains an index.

Uses of TwoPhaseCommit in org.apache.lucene.util

Classes in org.apache.lucene.util that implement TwoPhaseCommit
`static class` `TwoPhaseCommitTool.TwoPhaseCommitWrapper` A wrapper of a `TwoPhaseCommit`, which delegates all calls to the wrapped object, passing the specified commitData.

Methods in org.apache.lucene.util with parameters of type TwoPhaseCommit
`static void` `TwoPhaseCommitTool.execute(TwoPhaseCommit... objects)` Executes a 2-phase commit algorithm by first `prepareCommit()` all objects and only if all succeed, it proceeds with `commit()`.

Constructors in org.apache.lucene.util with parameters of type TwoPhaseCommit
`TwoPhaseCommitTool.CommitFailException(Throwable cause, TwoPhaseCommit obj)`
`TwoPhaseCommitTool.PrepareCommitFailException(Throwable cause, TwoPhaseCommit obj)`
`TwoPhaseCommitTool.TwoPhaseCommitWrapper(TwoPhaseCommit tpc, Map<String,String> commitData)`