Interface RejectSupport<U>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void rejectNextNOps​(int n)
      Reject n following journal operations regardless of their type.
      void rejectNextNOps​(int n, java.lang.Throwable cause)
      Reject n following journal operations regardless of their type.
      void rejectNextNOpsCond​(scala.Function2<java.lang.String,​U,​java.lang.Object> cond, int n)
      Reject n following journal operations depending on the condition cond.
      void rejectNextNOpsCond​(scala.Function2<java.lang.String,​U,​java.lang.Object> cond, int n, java.lang.Throwable cause)
      Reject n following journal operations depending on the condition cond.
    • Method Detail

      • rejectNextNOps

        void rejectNextNOps​(int n)
        Reject n following journal operations regardless of their type. Rejects operations with default ExpectedRejection exception.
      • rejectNextNOps

        void rejectNextNOps​(int n,
                            java.lang.Throwable cause)
        Reject n following journal operations regardless of their type. Rejects operations with the cause exception.
      • rejectNextNOpsCond

        void rejectNextNOpsCond​(scala.Function2<java.lang.String,​U,​java.lang.Object> cond,
                                int n)
        Reject n following journal operations depending on the condition cond. Rejection triggers, when cond returns true. Reject operations with default ExpectedRejection exception.
      • rejectNextNOpsCond

        void rejectNextNOpsCond​(scala.Function2<java.lang.String,​U,​java.lang.Object> cond,
                                int n,
                                java.lang.Throwable cause)
        Reject n following journal operations depending on the condition cond. Rejection triggers, when cond returns true. Rejects operations with the cause exception.