org.xcmis.search.lucene.index
Class StartableIndexingService
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
org.xcmis.search.lucene.index.LuceneIndexingService
org.xcmis.search.lucene.index.StartableIndexingService
- 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
public class StartableIndexingService
- extends LuceneIndexingService
Created by The eXo Platform SAS.
- Version:
- $Id: StartableJcrIndexingService.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 |
StartableIndexingService
public StartableIndexingService(IndexConfiguration configuration,
IndexRecoveryTool indexRecoveryTool)
throws IndexConfigurationException,
IndexException
- Parameters:
configuration -
- Throws:
IndexConfigurationException
IndexException
save
public IndexTransactionModificationReport save(IndexTransaction<org.apache.lucene.document.Document> changes)
throws IndexException,
IndexTransactionException
- Description copied from class:
TransactionableIndexDataManager
- Saves the IndexTransaction from this storage
- Specified by:
save in interface IndexDataKeeper<org.apache.lucene.document.Document>- Overrides:
save in class TransactionableIndexDataManager
- Throws:
IndexException
IndexTransactionException- See Also:
TransactionableIndexDataManager.save(org.xcmis.search.lucene.index.IndexTransaction)
start
public void start()
- Allocate resources
- Specified by:
start in interface StartableResource- Specified by:
start in interface Startable- Overrides:
start in class TransactionableIndexDataManager
stop
public void stop()
- Dispose resources
- Specified by:
stop in interface StartableResource- Specified by:
stop in interface Startable- Overrides:
stop in class TransactionableIndexDataManager
Copyright © 2011 eXo Platform SAS. All Rights Reserved.