Uses of Interface
org.apache.lucene.index.TwoPhaseCommit
Packages that use TwoPhaseCommit
Package
Description
Taxonomy of Categories.
Taxonomy index implementation using on top of a Directory.
Code to maintain and access indices.
-
Uses of TwoPhaseCommit in org.apache.lucene.facet.taxonomy
Subinterfaces of TwoPhaseCommit in org.apache.lucene.facet.taxonomyModifier and TypeInterfaceDescriptioninterface
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 TwoPhaseCommitModifier and TypeClassDescriptionclass
TaxonomyWriter
which uses aDirectory
to store the taxonomy information on disk, and keeps an additional in-memory cache of some or all categories.class
Use thisTaxonomyWriter
to append arbitrary fields to the ordinal documents in the taxonomy. -
Uses of TwoPhaseCommit in org.apache.lucene.index
Classes in org.apache.lucene.index that implement TwoPhaseCommitModifier and TypeClassDescriptionclass
AnIndexWriter
creates and maintains an index.Methods in org.apache.lucene.index with parameters of type TwoPhaseCommitModifier and TypeMethodDescriptionstatic void
TwoPhaseCommitTool.execute
(TwoPhaseCommit... objects) Executes a 2-phase commit algorithm by firstprepareCommit()
all objects and only if all succeed, it proceeds withcommit()
.private static void
TwoPhaseCommitTool.rollback
(TwoPhaseCommit... objects) rollback all objects, discarding any exceptions that occur.Constructors in org.apache.lucene.index with parameters of type TwoPhaseCommitModifierConstructorDescriptionCommitFailException
(Throwable cause, TwoPhaseCommit obj) Sole constructor.PrepareCommitFailException
(Throwable cause, TwoPhaseCommit obj) Sole constructor.