Package org.burningwave.core.function
Interface Executor
public interface Executor
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <I,E extends Throwable>
voidaccept(ThrowingConsumer<I, E> consumer, I input) static <T,E extends Throwable>
Tget(ThrowingSupplier<T, ? extends E> supplier) static <T,E extends Throwable>
Tget(ThrowingSupplier<T, ? extends E> supplier, int attemptsNumber) static <E extends Throwable>
voidrun(ThrowingRunnable<E> runnable) static <E extends Throwable>
voidrun(ThrowingRunnable<E> runnable, int attemptsNumber) static <E extends Throwable>
voidrunAndIgnoreExceptions(ThrowingRunnable<? extends Throwable> runnable) static <E extends Throwable>
voidrunAndLogExceptions(ThrowingRunnable<? extends Throwable> runnable)
-
Method Details
-
runAndLogExceptions
static <E extends Throwable> void runAndLogExceptions(ThrowingRunnable<? extends Throwable> runnable) -
runAndIgnoreExceptions
static <E extends Throwable> void runAndIgnoreExceptions(ThrowingRunnable<? extends Throwable> runnable) -
run
-
accept
-
run
-
get
-
get
-