类 SkipListenerSupport<T,​S>

    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      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.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • onSkipInRead

        public void onSkipInRead​(java.lang.Throwable t)
        从接口复制的说明: SkipListener
        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.
        指定者:
        onSkipInRead 在接口中 SkipListener<T,​S>
        参数:
        t - cause of the failure
      • onSkipInWrite

        public void onSkipInWrite​(S item,
                                  java.lang.Throwable t)
        从接口复制的说明: SkipListener
        This item failed on write with the given exception, and a skip was called for.
        指定者:
        onSkipInWrite 在接口中 SkipListener<T,​S>
        参数:
        item - the failed item
        t - the cause of the failure
      • onSkipInProcess

        public void onSkipInProcess​(T item,
                                    java.lang.Throwable t)
        从接口复制的说明: SkipListener
        This item failed on processing with the given exception, and a skip was called for.
        指定者:
        onSkipInProcess 在接口中 SkipListener<T,​S>
        参数:
        item - the failed item
        t - the cause of the failure