Uses of Interface
org.apache.lucene.util.TwoPhaseCommit
-
Packages that use TwoPhaseCommit Package Description org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.util Some utility classes. -
-
Uses of TwoPhaseCommit in org.apache.lucene.index
Classes in org.apache.lucene.index that implement TwoPhaseCommit Modifier and Type Class Description class
IndexWriter
AnIndexWriter
creates and maintains an index. -
Uses of TwoPhaseCommit in org.apache.lucene.util
Classes in org.apache.lucene.util that implement TwoPhaseCommit Modifier and Type Class Description static class
TwoPhaseCommitTool.TwoPhaseCommitWrapper
A wrapper of aTwoPhaseCommit
, which delegates all calls to the wrapped object, passing the specified commitData.Methods in org.apache.lucene.util with parameters of type TwoPhaseCommit Modifier and Type Method Description static void
TwoPhaseCommitTool. execute(TwoPhaseCommit... objects)
Executes a 2-phase commit algorithm by firstprepareCommit()
all objects and only if all succeed, it proceeds withcommit()
.Constructors in org.apache.lucene.util with parameters of type TwoPhaseCommit Constructor Description CommitFailException(Throwable cause, TwoPhaseCommit obj)
PrepareCommitFailException(Throwable cause, TwoPhaseCommit obj)
TwoPhaseCommitWrapper(TwoPhaseCommit tpc, Map<String,String> commitData)
-