public class LuceneIndexMBeanImpl extends AnnotatedStandardMBean implements LuceneIndexMBean
TYPE| Constructor and Description |
|---|
LuceneIndexMBeanImpl(IndexTracker indexTracker,
NodeStore nodeStore,
IndexPathService indexPathService,
File workDir,
@Nullable org.apache.jackrabbit.oak.plugins.index.lucene.property.PropertyIndexCleaner cleaner) |
getAttribute, getAttributes, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic LuceneIndexMBeanImpl(IndexTracker indexTracker, NodeStore nodeStore, IndexPathService indexPathService, File workDir, @Nullable @Nullable org.apache.jackrabbit.oak.plugins.index.lucene.property.PropertyIndexCleaner cleaner)
public TabularData getIndexStats() throws IOException
getIndexStats in interface LuceneIndexMBeanIOExceptionpublic TabularData getBadIndexStats()
getBadIndexStats in interface LuceneIndexMBeanpublic TabularData getBadPersistedIndexStats()
getBadPersistedIndexStats in interface LuceneIndexMBeanpublic boolean isFailing()
isFailing in interface LuceneIndexMBeanpublic String[] getIndexedPaths(String indexPath, int maxLevel, int maxPathCount) throws IOException
getIndexedPaths in interface LuceneIndexMBeanIOExceptionpublic String[] getFieldInfo(String indexPath) throws IOException
getFieldInfo in interface LuceneIndexMBeanIOExceptionpublic String[] getFieldTermsInfo(String indexPath, String field, int max) throws IOException
getFieldTermsInfo in interface LuceneIndexMBeanIOExceptionpublic String[] getFieldTermInfo(String indexPath, String field, String term) throws IOException
getFieldTermInfo in interface LuceneIndexMBeanIOExceptionpublic String getStoredIndexDefinition(@Name(value="indexPath") String indexPath)
getStoredIndexDefinition in interface LuceneIndexMBeanpublic String diffStoredIndexDefinition(@Name(value="indexPath") String indexPath)
diffStoredIndexDefinition in interface LuceneIndexMBeanpublic String checkConsistency(String indexPath, boolean fullCheck) throws IOException
checkConsistency in interface LuceneIndexMBeanIOExceptionpublic String[] checkAndReportConsistencyOfAllIndexes(boolean fullCheck) throws IOException
checkAndReportConsistencyOfAllIndexes in interface LuceneIndexMBeanIOExceptionpublic boolean checkConsistencyOfAllIndexes(boolean fullCheck)
throws IOException
checkConsistencyOfAllIndexes in interface LuceneIndexMBeanIOExceptionpublic String performPropertyIndexCleanup(String paths, int batchSize, int sleepPerBatch, int maxRemoveCount) throws CommitFailedException
performPropertyIndexCleanup in interface LuceneIndexMBeanCommitFailedExceptionpublic String performPropertyIndexCleanup() throws CommitFailedException
performPropertyIndexCleanup in interface LuceneIndexMBeanCommitFailedExceptionpublic String getHybridIndexInfo(String indexPath)
getHybridIndexInfo in interface LuceneIndexMBeanpublic String getSize(String indexPath) throws IOException
getSize in interface LuceneIndexMBeanIOExceptionpublic String getDocCount(String indexPath) throws IOException
getDocCount in interface LuceneIndexMBeanIOExceptionpublic void dumpIndexContent(String sourcePath, String destPath) throws IOException
IOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved