org.xcmis.search.lucene.index
Class LoggedIndexTransactionImpl
java.lang.Object
org.xcmis.search.lucene.index.LuceneIndexTransaction
org.xcmis.search.lucene.index.LoggedIndexTransactionImpl
- All Implemented Interfaces:
- IndexTransaction<org.apache.lucene.document.Document>, IndexTransactionResource, LoggedIndexTransaction<org.apache.lucene.document.Document>
public class LoggedIndexTransactionImpl
- extends LuceneIndexTransaction
- implements LoggedIndexTransaction<org.apache.lucene.document.Document>
- Version:
- $Id: exo-jboss-codetemplates.xml 34027 2009-07-15 23:26:43Z
aheritier $
- Author:
- Sergey Kabashnyuk
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggedIndexTransactionImpl
public LoggedIndexTransactionImpl(IndexTransaction<org.apache.lucene.document.Document> indexTransaction,
TransactionLog transactionLog)
- Parameters:
addedDocuments - updatedDocuments - deletedDocuments -
LoggedIndexTransactionImpl
public LoggedIndexTransactionImpl(Map<String,org.apache.lucene.document.Document> addedDocuments,
Set<String> deletedDocuments,
IndexTransactionService indexTransactionService)
- Parameters:
addedDocuments - updatedDocuments - deletedDocuments -
apply
public IndexTransaction<org.apache.lucene.document.Document> apply(IndexTransactionModificationReport report)
- Description copied from class:
LuceneIndexTransaction
- Remove modifications f
- Specified by:
apply in interface IndexTransaction<org.apache.lucene.document.Document>- Overrides:
apply in class LuceneIndexTransaction
end
public void end()
throws IndexTransactionException
- Remove information from persistence storage.
- Specified by:
end in interface LoggedIndexTransaction<org.apache.lucene.document.Document>
- Throws:
IndexTransactionException
getTransactionLog
public TransactionLog getTransactionLog()
- Return transaction log
- Specified by:
getTransactionLog in interface IndexTransactionResource
- Returns:
log
public void log()
throws IndexTransactionException
- Save information about transaction to the persistence storage.
- Specified by:
log in interface LoggedIndexTransaction<org.apache.lucene.document.Document>
- Throws:
IndexTransactionException
Copyright © 2010 eXo Platform SAS. All Rights Reserved.