Class IndexInfoServiceImpl
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.index.IndexInfoServiceImpl
-
- All Implemented Interfaces:
IndexInfoService
public class IndexInfoServiceImpl extends java.lang.Object implements IndexInfoService
-
-
Constructor Summary
Constructors Constructor Description IndexInfoServiceImpl()IndexInfoServiceImpl(NodeStore nodeStore, IndexPathService indexPathService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbindInfoProviders(IndexInfoProvider infoProvider)java.lang.Iterable<IndexInfo>getAllIndexInfo()ReturnsIndexInfofor all the indexes present in the repositoryIndexInfogetInfo(java.lang.String indexPath)ReturnsIndexInfofor index at given pathbooleanisValid(java.lang.String indexPath)Determined if the index is valid and usable.voidunbindInfoProviders(IndexInfoProvider infoProvider)
-
-
-
Constructor Detail
-
IndexInfoServiceImpl
public IndexInfoServiceImpl()
-
IndexInfoServiceImpl
public IndexInfoServiceImpl(NodeStore nodeStore, IndexPathService indexPathService)
-
-
Method Detail
-
getAllIndexInfo
public java.lang.Iterable<IndexInfo> getAllIndexInfo()
Description copied from interface:IndexInfoServiceReturnsIndexInfofor all the indexes present in the repository- Specified by:
getAllIndexInfoin interfaceIndexInfoService
-
getInfo
public IndexInfo getInfo(java.lang.String indexPath) throws java.io.IOException
Description copied from interface:IndexInfoServiceReturnsIndexInfofor index at given path- Specified by:
getInfoin interfaceIndexInfoService- Parameters:
indexPath- path repository- Returns:
- indexInfo for the index or null if there is no index node found at given path
- Throws:
java.io.IOException
-
isValid
public boolean isValid(java.lang.String indexPath) throws java.io.IOExceptionDescription copied from interface:IndexInfoServiceDetermined if the index is valid and usable. If the index is corrupt then it returns false- Specified by:
isValidin interfaceIndexInfoService- Throws:
java.io.IOException
-
bindInfoProviders
public void bindInfoProviders(IndexInfoProvider infoProvider)
-
unbindInfoProviders
public void unbindInfoProviders(IndexInfoProvider infoProvider)
-
-