Interface RetryHistoricalData

    • Method Detail

      • badData

        @Nullable
        HistoricalData badData()
        Returns:
        Copy of the HistoricalData containing only data that was marked as bad or null if no data is added
      • usingBadData

        void usingBadData​(boolean usingBadData)
        Parameters:
        usingBadData - true if using markAsBad(HistoricalTagValue), instead of throwing exceptions
      • usingBadData

        boolean usingBadData()
        Returns:
        true if store is using markAsBad(HistoricalTagValue) to keep track of bad data instead of throwing an exception
      • setFailureReason

        void setFailureReason​(java.lang.Exception e)
      • failureReason

        java.lang.Exception failureReason()
      • setRetry

        void setRetry​(boolean isRetry)
        Parameters:
        isRetry - true when an attempt to process data has failed at least once
      • isRetry

        boolean isRetry()
        Returns:
        true when an attempt to process this data has failed at least once
      • setRetry

        static void setRetry​(HistoricalData data,
                             boolean isRetry)