Class IndexInfoServiceImpl
java.lang.Object
org.apache.jackrabbit.oak.plugins.index.IndexInfoServiceImpl
- All Implemented Interfaces:
IndexInfoService
-
Constructor Summary
ConstructorsConstructorDescriptionIndexInfoServiceImpl(NodeStore nodeStore, IndexPathService indexPathService) -
Method Summary
Modifier and TypeMethodDescriptionvoidbindInfoProviders(IndexInfoProvider infoProvider) ReturnsIndexInfofor all the indexes present in the repositoryReturnsIndexInfofor index at given pathbooleanDetermined if the index is valid and usable.voidunbindInfoProviders(IndexInfoProvider infoProvider)
-
Constructor Details
-
IndexInfoServiceImpl
public IndexInfoServiceImpl() -
IndexInfoServiceImpl
-
-
Method Details
-
getAllIndexInfo
Description copied from interface:IndexInfoServiceReturnsIndexInfofor all the indexes present in the repository- Specified by:
getAllIndexInfoin interfaceIndexInfoService
-
getInfo
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:
IOException
-
isValid
Description 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:
IOException
-
bindInfoProviders
-
unbindInfoProviders
-