|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xcmis.search.lucene.index.LocalStorageIndexDataManager
org.xcmis.search.lucene.index.LocalIndexDataManagerProxy
org.xcmis.search.lucene.index.CacheableIndexDataManager
public class CacheableIndexDataManager
Created by The eXo Platform SAS.
| Constructor Summary | |
|---|---|
CacheableIndexDataManager(IndexConfiguration indexConfuguration)
|
|
| Method Summary | |
|---|---|
IndexTransactionModificationReport |
aggregate(Collection<LuceneIndexDataManager> indexes)
Saves the list of indexes. |
org.apache.lucene.store.Directory |
getDirectory()
|
long |
getDirectorySize(boolean includeInherited)
|
org.apache.lucene.document.Document |
getDocument(String uuid)
|
long |
getDocumentCount()
|
org.apache.lucene.index.IndexReader |
getIndexReader()
|
long |
getLastModifedTime()
|
IndexTransactionModificationReport |
save(IndexTransaction<org.apache.lucene.document.Document> changes)
Saves the IndexTransaction from this storage |
void |
stop()
Dispose resources |
| Methods inherited from class org.xcmis.search.lucene.index.LocalStorageIndexDataManager |
|---|
isStarted, isStoped, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheableIndexDataManager(IndexConfiguration indexConfuguration)
throws IndexException,
IndexConfigurationException
IndexConfigurationException
IndexException| Method Detail |
|---|
public IndexTransactionModificationReport aggregate(Collection<LuceneIndexDataManager> indexes)
throws IndexException,
IndexTransactionException
IndexAggregator
aggregate in interface IndexAggregatoraggregate in class LocalStorageIndexDataManagerIndexException
IndexTransactionException
public org.apache.lucene.store.Directory getDirectory()
throws IndexException
getDirectory in interface IndexDataConsumer<org.apache.lucene.index.IndexReader,org.apache.lucene.document.Document,org.apache.lucene.store.Directory>getDirectory in class LocalStorageIndexDataManagerIndexExceptionpublic long getDirectorySize(boolean includeInherited)
getDirectorySize in interface IndexDataConsumer<org.apache.lucene.index.IndexReader,org.apache.lucene.document.Document,org.apache.lucene.store.Directory>getDirectorySize in class LocalStorageIndexDataManager
public org.apache.lucene.document.Document getDocument(String uuid)
throws IndexException
getDocument in interface IndexDataConsumer<org.apache.lucene.index.IndexReader,org.apache.lucene.document.Document,org.apache.lucene.store.Directory>getDocument in class LocalStorageIndexDataManagerIndexExceptionpublic long getDocumentCount()
getDocumentCount in interface IndexDataConsumer<org.apache.lucene.index.IndexReader,org.apache.lucene.document.Document,org.apache.lucene.store.Directory>getDocumentCount in class LocalStorageIndexDataManager
public org.apache.lucene.index.IndexReader getIndexReader()
throws IndexException
getIndexReader in interface IndexDataConsumer<org.apache.lucene.index.IndexReader,org.apache.lucene.document.Document,org.apache.lucene.store.Directory>getIndexReader in class LocalStorageIndexDataManagerIndexExceptionpublic long getLastModifedTime()
getLastModifedTime in interface IndexDataConsumer<org.apache.lucene.index.IndexReader,org.apache.lucene.document.Document,org.apache.lucene.store.Directory>getLastModifedTime in class LocalStorageIndexDataManager
public IndexTransactionModificationReport save(IndexTransaction<org.apache.lucene.document.Document> changes)
throws IndexException,
IndexTransactionException
save in interface IndexDataKeeper<org.apache.lucene.document.Document>save in class LocalIndexDataManagerProxyIndexException
IndexTransactionExceptionpublic void stop()
stop in interface StartableResourcestop in interface Startablestop in class LocalStorageIndexDataManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||