Interface Action<E extends Exception>

    • Method Detail

      • apply

        void apply()
      • successful

        boolean successful()
      • canApply

        boolean canApply()
        Returns true if action can be applied. Return false if action application of action failed with exception, which is non-retriable.
      • fail

        void fail​(Exception e)
           throws E extends Exception
        e - Exception which occured during call of apply()
        E - If action specific exception if failed critically and all computation should be stopped.
        E extends Exception