Interface SkipListener<T,​S>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      voidonSkipInProcess​(T item, java.lang.Throwable t)
      This item failed on processing with the given exception, and a skip was called for.
      voidonSkipInRead​(java.lang.Throwable t)
      Callback for a failure on read that is legal, so is not going to be re-thrown.
      voidonSkipInWrite​(S item, java.lang.Throwable t)
      This item failed on write with the given exception, and a skip was called for.
    • Method Detail

      • onSkipInRead

        void onSkipInRead​(java.lang.Throwable t)
        Callback for a failure on read that is legal, so is not going to be re-thrown. In case transaction is rolled back and items are re-read, this callback will occur repeatedly for the same cause. This will only happen if read items are not buffered.
        Parameters:
        t - cause of the failure
      • onSkipInWrite

        void onSkipInWrite​(S item,
                           java.lang.Throwable t)
        This item failed on write with the given exception, and a skip was called for.
        Parameters:
        item - the failed item
        t - the cause of the failure
      • onSkipInProcess

        void onSkipInProcess​(T item,
                             java.lang.Throwable t)
        This item failed on processing with the given exception, and a skip was called for.
        Parameters:
        item - the failed item
        t - the cause of the failure