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() |
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 LuceneIndexMBean
java.io.IOException
public javax.management.openmbean.TabularData getBadIndexStats()
getBadIndexStats
in interface LuceneIndexMBean
public javax.management.openmbean.TabularData getBadPersistedIndexStats()
getBadPersistedIndexStats
in interface LuceneIndexMBean
public boolean isFailing()
isFailing
in interface LuceneIndexMBean
public java.lang.String[] getIndexedPaths(java.lang.String indexPath, int maxLevel, int maxPathCount) throws java.io.IOException
getIndexedPaths
in interface LuceneIndexMBean
java.io.IOException
public java.lang.String[] getFieldInfo(java.lang.String indexPath) throws java.io.IOException
getFieldInfo
in interface LuceneIndexMBean
java.io.IOException
public java.lang.String[] getFieldTermsInfo(java.lang.String indexPath, java.lang.String field, int max) throws java.io.IOException
getFieldTermsInfo
in interface LuceneIndexMBean
java.io.IOException
public java.lang.String[] getFieldTermInfo(java.lang.String indexPath, java.lang.String field, java.lang.String term) throws java.io.IOException
getFieldTermInfo
in interface LuceneIndexMBean
java.io.IOException
public java.lang.String getStoredIndexDefinition(@Name(value="indexPath") java.lang.String indexPath)
getStoredIndexDefinition
in interface LuceneIndexMBean
public java.lang.String diffStoredIndexDefinition(@Name(value="indexPath") java.lang.String indexPath)
diffStoredIndexDefinition
in interface LuceneIndexMBean
public java.lang.String checkConsistency(java.lang.String indexPath, boolean fullCheck) throws java.io.IOException
checkConsistency
in interface LuceneIndexMBean
java.io.IOException
public java.lang.String[] checkAndReportConsistencyOfAllIndexes(boolean fullCheck) throws java.io.IOException
checkAndReportConsistencyOfAllIndexes
in interface LuceneIndexMBean
java.io.IOException
public boolean checkConsistencyOfAllIndexes(boolean fullCheck) throws java.io.IOException
checkConsistencyOfAllIndexes
in interface LuceneIndexMBean
java.io.IOException
public java.lang.String performPropertyIndexCleanup() throws CommitFailedException
performPropertyIndexCleanup
in interface LuceneIndexMBean
CommitFailedException
public java.lang.String getHybridIndexInfo(java.lang.String indexPath)
getHybridIndexInfo
in interface LuceneIndexMBean
public java.lang.String getSize(java.lang.String indexPath) throws java.io.IOException
getSize
in interface LuceneIndexMBean
java.io.IOException
public java.lang.String getDocCount(java.lang.String indexPath) throws java.io.IOException
getDocCount
in interface LuceneIndexMBean
java.io.IOException
public void dumpIndexContent(java.lang.String sourcePath, java.lang.String destPath) throws java.io.IOException
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved