Interface IndexInfoProvider
-
- All Known Implementing Classes:
LuceneIndexInfoProvider,PropertyIndexInfoProvider
@ConsumerType public interface IndexInfoProviderService to be provided by various index implementations. This would then be used byIndexInfoServicefor collecting information related to index.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable IndexInfogetInfo(java.lang.String indexPath)java.lang.StringgetType()Index type for this implementation can provide informationbooleanisValid(java.lang.String indexPath)Determined if the index is valid and usable.
-
-
-
Method Detail
-
getType
java.lang.String getType()
Index type for this implementation can provide information
-
getInfo
@Nullable @Nullable IndexInfo getInfo(java.lang.String indexPath) throws java.io.IOException
- Throws:
java.io.IOException
-
isValid
boolean isValid(java.lang.String indexPath) throws java.io.IOExceptionDetermined if the index is valid and usable. If the index is corrupt then it returns false- Throws:
java.io.IOException
-
-