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 Detail

      • getType

        String getType()
        Index type for this implementation can provide information
      • 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