Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Class and Description |
---|---|
class |
IndexWriter
An
IndexWriter creates and maintains an index. |
Modifier and Type | Method and Description |
---|---|
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() . |
private static void |
TwoPhaseCommitTool.rollback(TwoPhaseCommit... objects)
rollback all objects, discarding any exceptions that occur.
|
Constructor and Description |
---|
CommitFailException(java.lang.Throwable cause,
TwoPhaseCommit obj)
Sole constructor.
|
PrepareCommitFailException(java.lang.Throwable cause,
TwoPhaseCommit obj)
Sole constructor.
|