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 void
bindInfoProviders(IndexInfoProvider infoProvider)
java.lang.Iterable<IndexInfo>
getAllIndexInfo()
ReturnsIndexInfo
for all the indexes present in the repositoryIndexInfo
getInfo(java.lang.String indexPath)
ReturnsIndexInfo
for index at given pathboolean
isValid(java.lang.String indexPath)
Determined if the index is valid and usable.void
unbindInfoProviders(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:IndexInfoService
ReturnsIndexInfo
for all the indexes present in the repository- Specified by:
getAllIndexInfo
in interfaceIndexInfoService
-
getInfo
public IndexInfo getInfo(java.lang.String indexPath) throws java.io.IOException
Description copied from interface:IndexInfoService
ReturnsIndexInfo
for index at given path- Specified by:
getInfo
in 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.IOException
Description copied from interface:IndexInfoService
Determined if the index is valid and usable. If the index is corrupt then it returns false- Specified by:
isValid
in interfaceIndexInfoService
- Throws:
java.io.IOException
-
bindInfoProviders
public void bindInfoProviders(IndexInfoProvider infoProvider)
-
unbindInfoProviders
public void unbindInfoProviders(IndexInfoProvider infoProvider)
-
-