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.
        Returns:
      • fail

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