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