org.xcmis.search.lucene.index
Class TransactionableIndexDataManager
java.lang.Object
org.xcmis.search.lucene.index.LocalStorageIndexDataManager
org.xcmis.search.lucene.index.LocalIndexDataManagerProxy
org.xcmis.search.lucene.index.CacheableIndexDataManager
org.xcmis.search.lucene.index.TransactionableIndexDataManager
- All Implemented Interfaces:
- IndexDataConsumer<org.apache.lucene.index.IndexReader,org.apache.lucene.document.Document,org.apache.lucene.store.Directory>, IndexDataKeeper<org.apache.lucene.document.Document>, IndexDataManager<org.apache.lucene.document.Document,org.apache.lucene.index.IndexReader,org.apache.lucene.store.Directory>, LuceneIndexDataManager, IndexAggregator, StartableResource, Startable
- Direct Known Subclasses:
- LuceneIndexingService
public class TransactionableIndexDataManager
- extends CacheableIndexDataManager
Created by The eXo Platform SAS.
- Version:
- $Id: TransactionableIndexDataManager.java 2 2010-02-04 17:21:49Z andrew00x $
- Author:
- Sergey Kabashnyuk
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRANSACTION_LOG_STORAGE_NAME
protected static final String TRANSACTION_LOG_STORAGE_NAME
- See Also:
- Constant Field Values
TransactionableIndexDataManager
public TransactionableIndexDataManager(IndexConfiguration indexConfuguration,
IndexRecoveryTool indexRecoveryTool)
throws IndexException,
IndexConfigurationException
- Throws:
IndexException
IndexConfigurationException
save
public IndexTransactionModificationReport save(IndexTransaction<org.apache.lucene.document.Document> changes)
throws IndexException,
IndexTransactionException
- Saves the IndexTransaction from this storage
- Specified by:
save in interface IndexDataKeeper<org.apache.lucene.document.Document>- Overrides:
save in class CacheableIndexDataManager
- Throws:
IndexException
IndexTransactionException
start
public void start()
- Allocate resources
- Specified by:
start in interface StartableResource- Specified by:
start in interface Startable- Overrides:
start in class LocalStorageIndexDataManager
stop
public void stop()
- Dispose resources
- Specified by:
stop in interface StartableResource- Specified by:
stop in interface Startable- Overrides:
stop in class CacheableIndexDataManager
Copyright © 2011 eXo Platform SAS. All Rights Reserved.