Class TrackingCorruptIndexHandler

    • Constructor Detail

      • TrackingCorruptIndexHandler

        public TrackingCorruptIndexHandler()
    • Method Detail

      • markWorkingIndexes

        public void markWorkingIndexes​(java.util.Set<java.lang.String> updatedIndexPaths)
      • isFailing

        public boolean isFailing​(java.lang.String asyncName)
      • skippingCorruptIndex

        public boolean skippingCorruptIndex​(java.lang.String async,
                                            java.lang.String indexPath,
                                            java.util.Calendar corruptSince)
        Description copied from interface: CorruptIndexHandler
        Callback method to inform handler that a corrupt index has been skipped
        Specified by:
        skippingCorruptIndex in interface CorruptIndexHandler
        async - async name
        indexPath - corrupt index path
        corruptSince - time since index is corrupt
        true if warning is logged for skipped indexing
      • indexUpdateFailed

        public void indexUpdateFailed​(java.lang.String async,
                                      java.lang.String indexPath,
                                      java.lang.Exception e)
        Specified by:
        indexUpdateFailed in interface CorruptIndexHandler
      • setCorruptInterval

        public void setCorruptInterval​(long interval,
                                       java.util.concurrent.TimeUnit unit)
      • setErrorWarnInterval

        public void setErrorWarnInterval​(long errorWarnInterval,
                                         java.util.concurrent.TimeUnit unit)
      • getFailingIndexStats

        public getFailingIndexStats​(java.lang.String asyncName)