Interface IndexInfoProvider


@ConsumerType public interface IndexInfoProvider
Service to be provided by various index implementations. This would then be used by IndexInfoService for collecting information related to index.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable IndexInfo
    getInfo(String indexPath)
     
    Index type for this implementation can provide information
    boolean
    isValid(String indexPath)
    Determined if the index is valid and usable.
  • Method Details

    • getType

      String getType()
      Index type for this implementation can provide information
    • getInfo

      @Nullable @Nullable IndexInfo getInfo(String indexPath) throws IOException
      Throws:
      IOException
    • isValid

      boolean isValid(String indexPath) throws IOException
      Determined if the index is valid and usable. If the index is corrupt then it returns false
      Throws:
      IOException