Class LuceneIndexMBeanImpl

    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      LuceneIndexMBeanImpl​(IndexTracker indexTracker, NodeStore nodeStore, IndexPathService indexPathService, java.io.File workDir, @Nullable org.apache.jackrabbit.oak.plugins.index.lucene.property.PropertyIndexCleaner cleaner)  
    • Constructor Detail

      • LuceneIndexMBeanImpl

        public LuceneIndexMBeanImpl​(IndexTracker indexTracker,
                                    NodeStore nodeStore,
                                    IndexPathService indexPathService,
                                    java.io.File workDir,
                                    @Nullable
                                    @Nullable org.apache.jackrabbit.oak.plugins.index.lucene.property.PropertyIndexCleaner cleaner)
    • Method Detail

      • getIndexStats

        public javax.management.openmbean.TabularData getIndexStats()
                                                             throws java.io.IOException
        Specified by:
        getIndexStats in interface LuceneIndexMBean
        Throws:
        java.io.IOException
      • getIndexedPaths

        public java.lang.String[] getIndexedPaths​(java.lang.String indexPath,
                                                  int maxLevel,
                                                  int maxPathCount)
                                           throws java.io.IOException
        Specified by:
        getIndexedPaths in interface LuceneIndexMBean
        Throws:
        java.io.IOException
      • getFieldInfo

        public java.lang.String[] getFieldInfo​(java.lang.String indexPath)
                                        throws java.io.IOException
        Specified by:
        getFieldInfo in interface LuceneIndexMBean
        Throws:
        java.io.IOException
      • getFieldTermsInfo

        public java.lang.String[] getFieldTermsInfo​(java.lang.String indexPath,
                                                    java.lang.String field,
                                                    int max)
                                             throws java.io.IOException
        Specified by:
        getFieldTermsInfo in interface LuceneIndexMBean
        Throws:
        java.io.IOException
      • getFieldTermInfo

        public java.lang.String[] getFieldTermInfo​(java.lang.String indexPath,
                                                   java.lang.String field,
                                                   java.lang.String term)
                                            throws java.io.IOException
        Specified by:
        getFieldTermInfo in interface LuceneIndexMBean
        Throws:
        java.io.IOException
      • checkConsistency

        public java.lang.String checkConsistency​(java.lang.String indexPath,
                                                 boolean fullCheck)
                                          throws java.io.IOException
        Specified by:
        checkConsistency in interface LuceneIndexMBean
        Throws:
        java.io.IOException
      • checkAndReportConsistencyOfAllIndexes

        public java.lang.String[] checkAndReportConsistencyOfAllIndexes​(boolean fullCheck)
                                                                 throws java.io.IOException
        Specified by:
        checkAndReportConsistencyOfAllIndexes in interface LuceneIndexMBean
        Throws:
        java.io.IOException
      • checkConsistencyOfAllIndexes

        public boolean checkConsistencyOfAllIndexes​(boolean fullCheck)
                                             throws java.io.IOException
        Specified by:
        checkConsistencyOfAllIndexes in interface LuceneIndexMBean
        Throws:
        java.io.IOException
      • getSize

        public java.lang.String getSize​(java.lang.String indexPath)
                                 throws java.io.IOException
        Specified by:
        getSize in interface LuceneIndexMBean
        Throws:
        java.io.IOException
      • getDocCount

        public java.lang.String getDocCount​(java.lang.String indexPath)
                                     throws java.io.IOException
        Specified by:
        getDocCount in interface LuceneIndexMBean
        Throws:
        java.io.IOException
      • dumpIndexContent

        public void dumpIndexContent​(java.lang.String sourcePath,
                                     java.lang.String destPath)
                              throws java.io.IOException
        Throws:
        java.io.IOException