public class LuceneIndexMBeanImpl extends org.apache.jackrabbit.oak.commons.jmx.AnnotatedStandardMBean implements LuceneIndexMBean
TYPE
Constructor and Description |
---|
LuceneIndexMBeanImpl(IndexTracker indexTracker,
org.apache.jackrabbit.oak.spi.state.NodeStore nodeStore,
org.apache.jackrabbit.oak.plugins.index.IndexPathService indexPathService,
File workDir,
PropertyIndexCleaner cleaner) |
Modifier and Type | Method and Description |
---|---|
String[] |
checkAndReportConsistencyOfAllIndexes(boolean fullCheck) |
String |
checkConsistency(String indexPath,
boolean fullCheck) |
boolean |
checkConsistencyOfAllIndexes(boolean fullCheck) |
String |
diffStoredIndexDefinition(String indexPath) |
void |
dumpIndexContent(String sourcePath,
String destPath) |
TabularData |
getBadIndexStats() |
TabularData |
getBadPersistedIndexStats() |
String[] |
getFieldInfo(String indexPath) |
String[] |
getFieldTermInfo(String indexPath,
String field,
String term) |
String[] |
getFieldTermsInfo(String indexPath,
String field,
int max) |
String |
getHybridIndexInfo(String indexPath) |
String[] |
getIndexedPaths(String indexPath,
int maxLevel,
int maxPathCount) |
TabularData |
getIndexStats() |
String |
getStoredIndexDefinition(String indexPath) |
boolean |
isFailing() |
String |
performPropertyIndexCleanup() |
getDescription, getDescription, getDescription, getDescription, getImpact, getParameterName
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
public LuceneIndexMBeanImpl(IndexTracker indexTracker, org.apache.jackrabbit.oak.spi.state.NodeStore nodeStore, org.apache.jackrabbit.oak.plugins.index.IndexPathService indexPathService, File workDir, @Nullable PropertyIndexCleaner cleaner)
public TabularData getIndexStats() throws IOException
getIndexStats
in interface LuceneIndexMBean
IOException
public TabularData getBadIndexStats()
getBadIndexStats
in interface LuceneIndexMBean
public TabularData getBadPersistedIndexStats()
getBadPersistedIndexStats
in interface LuceneIndexMBean
public boolean isFailing()
isFailing
in interface LuceneIndexMBean
public String[] getIndexedPaths(String indexPath, int maxLevel, int maxPathCount) throws IOException
getIndexedPaths
in interface LuceneIndexMBean
IOException
public String[] getFieldInfo(String indexPath) throws IOException
getFieldInfo
in interface LuceneIndexMBean
IOException
public String[] getFieldTermsInfo(String indexPath, String field, int max) throws IOException
getFieldTermsInfo
in interface LuceneIndexMBean
IOException
public String[] getFieldTermInfo(String indexPath, String field, String term) throws IOException
getFieldTermInfo
in interface LuceneIndexMBean
IOException
public String getStoredIndexDefinition(@Name(value="indexPath") String indexPath)
getStoredIndexDefinition
in interface LuceneIndexMBean
public String diffStoredIndexDefinition(@Name(value="indexPath") String indexPath)
diffStoredIndexDefinition
in interface LuceneIndexMBean
public String checkConsistency(String indexPath, boolean fullCheck) throws IOException
checkConsistency
in interface LuceneIndexMBean
IOException
public String[] checkAndReportConsistencyOfAllIndexes(boolean fullCheck) throws IOException
checkAndReportConsistencyOfAllIndexes
in interface LuceneIndexMBean
IOException
public boolean checkConsistencyOfAllIndexes(boolean fullCheck) throws IOException
checkConsistencyOfAllIndexes
in interface LuceneIndexMBean
IOException
public String performPropertyIndexCleanup() throws org.apache.jackrabbit.oak.api.CommitFailedException
performPropertyIndexCleanup
in interface LuceneIndexMBean
org.apache.jackrabbit.oak.api.CommitFailedException
public String getHybridIndexInfo(String indexPath)
getHybridIndexInfo
in interface LuceneIndexMBean
public void dumpIndexContent(String sourcePath, String destPath) throws IOException
IOException
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.