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) |
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 |
getDocCount(String indexPath) |
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 |
getSize(String indexPath) |
String |
getStoredIndexDefinition(String indexPath) |
boolean |
isFailing() |
String |
performPropertyIndexCleanup() |
getAttribute, getAttributes, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
public 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 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 CommitFailedException
performPropertyIndexCleanup
in interface LuceneIndexMBean
CommitFailedException
public String getHybridIndexInfo(String indexPath)
getHybridIndexInfo
in interface LuceneIndexMBean
public String getSize(String indexPath) throws IOException
getSize
in interface LuceneIndexMBean
IOException
public String getDocCount(String indexPath) throws IOException
getDocCount
in interface LuceneIndexMBean
IOException
public void dumpIndexContent(String sourcePath, String destPath) throws IOException
IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved