org.compass.core.lucene.engine.transaction
Class SerialableTransaction
java.lang.Object
org.compass.core.lucene.engine.transaction.AbstractTransaction
org.compass.core.lucene.engine.transaction.ReadCommittedTransaction
org.compass.core.lucene.engine.transaction.SerialableTransaction
- All Implemented Interfaces:
- LuceneSearchEngineTransaction
public class SerialableTransaction
- extends ReadCommittedTransaction
Works the same as the read committed transaction, except that it locks all
the index files (per alias) when the transaction begins.
Be carefull, it is a very slow transaction.
- Author:
- kimchy
|
Method Summary |
void |
begin()
|
| Methods inherited from class org.compass.core.lucene.engine.transaction.AbstractTransaction |
closeDelegateClosed, commit, configure, create, delete, find, getResourceMapping, internalSearch, isDirty, prepare, rollback |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerialableTransaction
public SerialableTransaction()
begin
public void begin()
throws SearchEngineException
- Specified by:
begin in interface LuceneSearchEngineTransaction- Overrides:
begin in class AbstractTransaction
- Throws:
SearchEngineException
Copyright (c) 2004-2006 The Compass Project.