| 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Packages that use TwoPhaseCommit | |
|---|---|
| org.apache.lucene.index | Code to maintain and access indices. | 
| 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. | 
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.index 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.index with parameters of type TwoPhaseCommit | |
|---|---|
TwoPhaseCommitTool.CommitFailException(Throwable cause,
                                       TwoPhaseCommit obj)
Sole constructor.  | 
|
TwoPhaseCommitTool.PrepareCommitFailException(Throwable cause,
                                              TwoPhaseCommit obj)
Sole constructor.  | 
|
TwoPhaseCommitTool.TwoPhaseCommitWrapper(TwoPhaseCommit tpc,
                                         Map<String,String> commitData)
Sole constructor.  | 
|
  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||