Uses of Interface
org.apache.lucene.index.TwoPhaseCommit
Packages that use TwoPhaseCommit
-
Uses of TwoPhaseCommit in org.apache.lucene.index
Classes in org.apache.lucene.index that implement TwoPhaseCommitModifier and TypeClassDescriptionclassAnIndexWritercreates and maintains an index.Methods in org.apache.lucene.index with parameters of type TwoPhaseCommitModifier and TypeMethodDescriptionstatic voidTwoPhaseCommitTool.execute(TwoPhaseCommit... objects) Executes a 2-phase commit algorithm by firstprepareCommit()all objects and only if all succeed, it proceeds withcommit().private static voidTwoPhaseCommitTool.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.