All Methods Static Methods Concrete Methods Modifier and Type | Method and Description |
---|
static <T> CompletionStage<T> | completedFuture(T value) |
static <T> CompletionStage<T> | failedFuture(Throwable t) |
static CompletionStage<Boolean> | falseFuture() |
static void | logSqlException(Throwable t, Supplier<String> message, String sql) |
static CompletionStage<Void> | loop(int start, int end, Function<Integer,CompletionStage<?>> consumer) |
static CompletionStage<Void> | loop(IntStream stream, Function<Integer,CompletionStage<?>> consumer) |
static <T> CompletionStage<Void> | loop(Iterable<T> iterable, Function<T,CompletionStage<?>> consumer) |
static <T> CompletionStage<Void> | loop(Iterator<T> iterator, Function<T,CompletionStage<?>> consumer) |
static <T> CompletionStage<Void> | loop(Stream<T> stream, Function<T,CompletionStage<?>> consumer) |
static <T> CompletionStage<Void> | loop(T[] array, Function<T,CompletionStage<?>> consumer) |
static <T> CompletionStage<T> | nullFuture() |
static <T extends Throwable,Ret> Ret | rethrow(Throwable x) |
static <T extends Throwable,Ret> Ret | returnNullorRethrow(Throwable x) |
static <T extends Throwable,Ret> Ret | returnOrRethrow(Throwable x, Ret result) |
static <T> CompletionStage<Integer> | total(int start, int end, Function<Integer,CompletionStage<Integer>> consumer) |
static <T> CompletionStage<Integer> | total(T[] array, Function<T,CompletionStage<Integer>> consumer) |
static CompletionStage<Boolean> | trueFuture() |
static CompletionStage<Void> | voidFuture() |
static CompletionStage<Integer> | zeroFuture() |
static <T,R> CompletionStage<R> | zipArray(Function<? super Object[],? extends R> zipper, CompletionStage<? extends T>... sources) |