Interface Retry.Action<E extends java.lang.Exception>

  • Enclosing class:
    Retry<E extends java.lang.Exception>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface Retry.Action<E extends java.lang.Exception>
    A runnable action that may throw an exception of type E.
    • Method Detail

      • run

        boolean run()
             throws E extends java.lang.Exception
        Perform the action.
        Returns:
        true if the action was successful and false otherwise
        Throws:
        E - exception thrown during the action
        E extends java.lang.Exception