public class LuceneIndexMBeanImpl extends AnnotatedStandardMBean implements LuceneIndexMBean
TYPE| Constructor and Description |
|---|
LuceneIndexMBeanImpl(IndexTracker indexTracker,
NodeStore nodeStore,
IndexPathService indexPathService,
java.io.File workDir,
@Nullable org.apache.jackrabbit.oak.plugins.index.lucene.property.PropertyIndexCleaner cleaner) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
checkAndReportConsistencyOfAllIndexes(boolean fullCheck) |
java.lang.String |
checkConsistency(java.lang.String indexPath,
boolean fullCheck) |
boolean |
checkConsistencyOfAllIndexes(boolean fullCheck) |
java.lang.String |
diffStoredIndexDefinition(java.lang.String indexPath) |
void |
dumpIndexContent(java.lang.String sourcePath,
java.lang.String destPath) |
javax.management.openmbean.TabularData |
getBadIndexStats() |
javax.management.openmbean.TabularData |
getBadPersistedIndexStats() |
java.lang.String |
getDocCount(java.lang.String indexPath) |
java.lang.String[] |
getFieldInfo(java.lang.String indexPath) |
java.lang.String[] |
getFieldTermInfo(java.lang.String indexPath,
java.lang.String field,
java.lang.String term) |
java.lang.String[] |
getFieldTermsInfo(java.lang.String indexPath,
java.lang.String field,
int max) |
java.lang.String |
getHybridIndexInfo(java.lang.String indexPath) |
java.lang.String[] |
getIndexedPaths(java.lang.String indexPath,
int maxLevel,
int maxPathCount) |
javax.management.openmbean.TabularData |
getIndexStats() |
java.lang.String |
getSize(java.lang.String indexPath) |
java.lang.String |
getStoredIndexDefinition(java.lang.String indexPath) |
boolean |
isFailing() |
java.lang.String |
performPropertyIndexCleanup() |
java.lang.String |
performPropertyIndexCleanup(java.lang.String paths,
int batchSize,
int sleepPerBatch,
int maxRemoveCount) |
public LuceneIndexMBeanImpl(IndexTracker indexTracker, NodeStore nodeStore, IndexPathService indexPathService, java.io.File workDir, @Nullable @Nullable org.apache.jackrabbit.oak.plugins.index.lucene.property.PropertyIndexCleaner cleaner)
public javax.management.openmbean.TabularData getIndexStats()
throws java.io.IOException
getIndexStats in interface LuceneIndexMBeanjava.io.IOExceptionpublic javax.management.openmbean.TabularData getBadIndexStats()
getBadIndexStats in interface LuceneIndexMBeanpublic javax.management.openmbean.TabularData getBadPersistedIndexStats()
getBadPersistedIndexStats in interface LuceneIndexMBeanpublic boolean isFailing()
isFailing in interface LuceneIndexMBeanpublic java.lang.String[] getIndexedPaths(java.lang.String indexPath,
int maxLevel,
int maxPathCount)
throws java.io.IOException
getIndexedPaths in interface LuceneIndexMBeanjava.io.IOExceptionpublic java.lang.String[] getFieldInfo(java.lang.String indexPath)
throws java.io.IOException
getFieldInfo in interface LuceneIndexMBeanjava.io.IOExceptionpublic java.lang.String[] getFieldTermsInfo(java.lang.String indexPath,
java.lang.String field,
int max)
throws java.io.IOException
getFieldTermsInfo in interface LuceneIndexMBeanjava.io.IOExceptionpublic java.lang.String[] getFieldTermInfo(java.lang.String indexPath,
java.lang.String field,
java.lang.String term)
throws java.io.IOException
getFieldTermInfo in interface LuceneIndexMBeanjava.io.IOExceptionpublic java.lang.String getStoredIndexDefinition(@Name(value="indexPath") java.lang.String indexPath)
getStoredIndexDefinition in interface LuceneIndexMBeanpublic java.lang.String diffStoredIndexDefinition(@Name(value="indexPath") java.lang.String indexPath)
diffStoredIndexDefinition in interface LuceneIndexMBeanpublic java.lang.String checkConsistency(java.lang.String indexPath,
boolean fullCheck)
throws java.io.IOException
checkConsistency in interface LuceneIndexMBeanjava.io.IOExceptionpublic java.lang.String[] checkAndReportConsistencyOfAllIndexes(boolean fullCheck)
throws java.io.IOException
checkAndReportConsistencyOfAllIndexes in interface LuceneIndexMBeanjava.io.IOExceptionpublic boolean checkConsistencyOfAllIndexes(boolean fullCheck)
throws java.io.IOException
checkConsistencyOfAllIndexes in interface LuceneIndexMBeanjava.io.IOExceptionpublic java.lang.String performPropertyIndexCleanup(java.lang.String paths,
int batchSize,
int sleepPerBatch,
int maxRemoveCount)
throws CommitFailedException
performPropertyIndexCleanup in interface LuceneIndexMBeanCommitFailedExceptionpublic java.lang.String performPropertyIndexCleanup()
throws CommitFailedException
performPropertyIndexCleanup in interface LuceneIndexMBeanCommitFailedExceptionpublic java.lang.String getHybridIndexInfo(java.lang.String indexPath)
getHybridIndexInfo in interface LuceneIndexMBeanpublic java.lang.String getSize(java.lang.String indexPath)
throws java.io.IOException
getSize in interface LuceneIndexMBeanjava.io.IOExceptionpublic java.lang.String getDocCount(java.lang.String indexPath)
throws java.io.IOException
getDocCount in interface LuceneIndexMBeanjava.io.IOExceptionpublic void dumpIndexContent(java.lang.String sourcePath,
java.lang.String destPath)
throws java.io.IOException
java.io.IOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved