Class LuceneIndexInfoProvider
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexInfoProvider
-
- All Implemented Interfaces:
IndexInfoProvider
public class LuceneIndexInfoProvider extends java.lang.Object implements IndexInfoProvider
-
-
Constructor Summary
Constructors Constructor Description LuceneIndexInfoProvider(NodeStore nodeStore, AsyncIndexInfoService asyncInfoService, java.io.File workDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexInfo
getInfo(java.lang.String indexPath)
java.lang.String
getType()
Index type for this implementation can provide informationboolean
isValid(java.lang.String indexPath)
Determined if the index is valid and usable.
-
-
-
Constructor Detail
-
LuceneIndexInfoProvider
public LuceneIndexInfoProvider(NodeStore nodeStore, AsyncIndexInfoService asyncInfoService, java.io.File workDir)
-
-
Method Detail
-
getType
public java.lang.String getType()
Description copied from interface:IndexInfoProvider
Index type for this implementation can provide information- Specified by:
getType
in interfaceIndexInfoProvider
-
getInfo
public IndexInfo getInfo(java.lang.String indexPath) throws java.io.IOException
- Specified by:
getInfo
in interfaceIndexInfoProvider
- Throws:
java.io.IOException
-
isValid
public boolean isValid(java.lang.String indexPath) throws java.io.IOException
Description copied from interface:IndexInfoProvider
Determined if the index is valid and usable. If the index is corrupt then it returns false- Specified by:
isValid
in interfaceIndexInfoProvider
- Throws:
java.io.IOException
-
-