Interface RepeatCallback<T,​E extends Throwable>

  • Type Parameters:
    T - return type
    E - exceptions

    public interface RepeatCallback<T,​E extends Throwable>
    Functional Interface to wrap repeat methods for RepeatOperations.
    • Method Detail

      • doWithRepeat

        T doWithRepeat​(int index)
                throws E extends Throwable
        method to be repeated by RepeatOperations
        Parameters:
        index - index of repeated method
        Returns:
        result of repeated method
        Throws:
        E - exceptions
        E extends Throwable