Uses of Interface
com.landawn.abacus.util.Throwables.Callable
-
Uses of Throwables.Callable in com.landawn.abacus.util
Modifier and TypeMethodDescriptionstatic <R,
E extends Throwable>
Throwables.Callable<R,E> Fn.Fnn.c
(Throwables.Callable<R, E> callable) static <R,
E extends Throwable>
Throwables.Callable<R,E> static <R> Throwables.Callable<R,
Exception> static <E extends Throwable>
Throwables.Callable<Void,E> Fn.Fnn.r2c
(Throwables.Runnable<E> runnable) static <R,
E extends Throwable>
Throwables.Callable<R,E> Fn.Fnn.r2c
(Throwables.Runnable<E> runnable, R valueToReturn) Modifier and TypeMethodDescriptionstatic <R,
E extends Throwable>
Throwables.Callable<R,E> Fn.Fnn.c
(Throwables.Callable<R, E> callable) Fn.Fnn.c2jc
(Throwables.Callable<R, E> callable) static <R,
E extends Throwable>
Throwables.Runnable<E>Fn.Fnn.c2r
(Throwables.Callable<R, E> callable) Retry.RetryR.call
(Throwables.Callable<T, RuntimeException> callable) <R,
E extends Throwable>
RSynchronized.call
(Throwables.Callable<R, E> cmd) static <T,
R, E extends Throwable>
RSynchronized.call
(T mutex, Throwables.Callable<R, E> cmd) static <R> R
Throwables.call
(Throwables.Callable<R, ? extends Throwable> cmd) static <R> R
Throwables.call
(Throwables.Callable<R, ? extends Throwable> cmd, Function<? super Throwable, ? extends R> actionOnError) static <R> R
Throwables.call
(Throwables.Callable<R, ? extends Throwable> cmd, Predicate<? super Throwable> predicate, Supplier<R> supplier) static <R> R
Throwables.call
(Throwables.Callable<R, ? extends Throwable> cmd, Predicate<? super Throwable> predicate, R defaultValue) static <R> R
Throwables.call
(Throwables.Callable<R, ? extends Throwable> cmd, Supplier<R> supplier) static <R> R
Throwables.call
(Throwables.Callable<R, ? extends Throwable> cmd, R defaultValue) static <T> T
Note: Copied from Google Guava under Apache License v2.0
If a thread is interrupted during such a call, the call continues to block until the result is available or the timeout elapses, and only then re-interrupts the thread.Fn.cc
(Throwables.Callable<R, E> callable) -
Uses of Throwables.Callable in com.landawn.abacus.util.function
Modifier and TypeMethodDescriptiondefault <E extends Throwable>
Throwables.Callable<R,E> Callable.toThrowable()