public interface TimeCountExecutor
-
Method Summary
Static Methods
| Modifier and Type |
Method |
Description |
static <I,
E extends Throwable> void |
accept(org.burningwave.core.function.ThrowingConsumer<I,E> consumer,
I input) |
|
static <T,
E extends Throwable> T |
get(org.burningwave.core.function.ThrowingSupplier<T,? extends E> supplier) |
|
static <T,
E extends Throwable> T |
get(org.burningwave.core.function.ThrowingSupplier<T,? extends E> supplier,
int attemptsNumber) |
|
static String |
getFormattedDifferenceOfMillis(long value1,
long value2) |
|
static <E extends Throwable> void |
run(org.burningwave.core.function.ThrowingRunnable<E> runnable) |
|
static <E extends Throwable> void |
run(org.burningwave.core.function.ThrowingRunnable<E> runnable,
int attemptsNumber) |
|
static <E extends Throwable> void |
runAndIgnoreExceptions(org.burningwave.core.function.ThrowingRunnable<? extends Throwable> runnable) |
|
static <E extends Throwable> void |
runAndLogExceptions(org.burningwave.core.function.ThrowingRunnable<? extends Throwable> runnable) |
|
-
Method Details
-
runAndLogExceptions
static <E extends Throwable> void runAndLogExceptions(
org.burningwave.core.function.ThrowingRunnable<? extends Throwable> runnable)
-
runAndIgnoreExceptions
static <E extends Throwable> void runAndIgnoreExceptions(
org.burningwave.core.function.ThrowingRunnable<? extends Throwable> runnable)
-
run
static <E extends Throwable> void run(
org.burningwave.core.function.ThrowingRunnable<E> runnable)
-
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)
-