Package io.foldright.cffu2
Class BaseCffu.IterableOps
java.lang.Object
io.foldright.cffu2.BaseCffu.IterableOps
The
Iterable-based variants (including Collection, List, etc.) of
same-named varargs methods from Cffu.
These methods handle multiple actions and Futures with the same type (aka. homogeneous).-
Method Summary
Modifier and TypeMethodDescriptionthenMAcceptAnyAsync(Iterable<? extends Consumer<? super T>> actions) Iterable variant ofBaseCffu.thenMAcceptAnyAsync(Consumer[]).thenMAcceptAnyAsync(Iterable<? extends Consumer<? super T>> actions, Executor executor) Iterable variant ofBaseCffu.thenMAcceptAnyAsync(Executor, Consumer[]).thenMAcceptAnySuccessAsync(Iterable<? extends Consumer<? super T>> actions) Iterable variant ofBaseCffu.thenMAcceptAnySuccessAsync(Consumer[]).thenMAcceptAnySuccessAsync(Iterable<? extends Consumer<? super T>> actions, Executor executor) Iterable variant ofBaseCffu.thenMAcceptAnySuccessAsync(Executor, Consumer[]).thenMAcceptAsync(Iterable<? extends Consumer<? super T>> actions) Iterable variant ofBaseCffu.thenMAcceptAsync(Consumer[]).thenMAcceptAsync(Iterable<? extends Consumer<? super T>> actions, Executor executor) Iterable variant ofBaseCffu.thenMAcceptAsync(Executor, Consumer[]).thenMAcceptFailFastAsync(Iterable<? extends Consumer<? super T>> actions) Iterable variant ofBaseCffu.thenMAcceptFailFastAsync(Consumer[]).thenMAcceptFailFastAsync(Iterable<? extends Consumer<? super T>> actions, Executor executor) Iterable variant ofBaseCffu.thenMAcceptFailFastAsync(Executor, Consumer[]).thenMApplyAllSuccessAsync(U valueIfFailed, Iterable<? extends Function<? super T, ? extends U>> fns) Iterable variant ofBaseCffu.thenMApplyAllSuccessAsync(Object, Function[]).thenMApplyAllSuccessAsync(U valueIfFailed, Iterable<? extends Function<? super T, ? extends U>> fns, Executor executor) Iterable variant ofBaseCffu.thenMApplyAllSuccessAsync(Executor, Object, Function[]).<U> Cffu<U> thenMApplyAnyAsync(Iterable<? extends Function<? super T, ? extends U>> fns) Iterable variant ofBaseCffu.thenMApplyAnyAsync(Function[]).<U> Cffu<U> thenMApplyAnyAsync(Iterable<? extends Function<? super T, ? extends U>> fns, Executor executor) Iterable variant ofBaseCffu.thenMApplyAnyAsync(Executor, Function[]).<U> Cffu<U> thenMApplyAnySuccessAsync(Iterable<? extends Function<? super T, ? extends U>> fns) Iterable variant ofBaseCffu.thenMApplyAnySuccessAsync(Function[]).<U> Cffu<U> thenMApplyAnySuccessAsync(Iterable<? extends Function<? super T, ? extends U>> fns, Executor executor) Iterable variant ofBaseCffu.thenMApplyAnySuccessAsync(Executor, Function[]).thenMApplyAsync(Iterable<? extends Function<? super T, ? extends U>> fns) Iterable variant ofBaseCffu.thenMApplyAsync(Function[]).thenMApplyAsync(Iterable<? extends Function<? super T, ? extends U>> fns, Executor executor) Iterable variant ofBaseCffu.thenMApplyAsync(Executor, Function[]).thenMApplyFailFastAsync(Iterable<? extends Function<? super T, ? extends U>> fns) Iterable variant ofBaseCffu.thenMApplyFailFastAsync(Function[]).thenMApplyFailFastAsync(Iterable<? extends Function<? super T, ? extends U>> fns, Executor executor) Iterable variant ofBaseCffu.thenMApplyFailFastAsync(Executor, Function[]).thenMApplyMostSuccessAsync(U valueIfNotSuccess, long timeout, TimeUnit unit, Iterable<? extends Function<? super T, ? extends U>> fns) Iterable variant ofBaseCffu.thenMApplyMostSuccessAsync(Object, long, TimeUnit, Function[]).thenMApplyMostSuccessAsync(U valueIfNotSuccess, long timeout, TimeUnit unit, Iterable<? extends Function<? super T, ? extends U>> fns, Executor executor) Iterable variant ofBaseCffu.thenMApplyMostSuccessAsync(Executor, Object, long, TimeUnit, Function[]).thenMRunAnyAsync(Iterable<? extends Runnable> actions) Iterable variant ofBaseCffu.thenMRunAnyAsync(Runnable...).thenMRunAnyAsync(Iterable<? extends Runnable> actions, Executor executor) Iterable variant ofBaseCffu.thenMRunAnyAsync(Executor, Runnable...).thenMRunAnySuccessAsync(Iterable<? extends Runnable> actions) Iterable variant ofBaseCffu.thenMRunAnySuccessAsync(Runnable...).thenMRunAnySuccessAsync(Iterable<? extends Runnable> actions, Executor executor) Iterable variant ofBaseCffu.thenMRunAnySuccessAsync(Executor, Runnable...).thenMRunAsync(Iterable<? extends Runnable> actions) Iterable variant ofBaseCffu.thenMRunAsync(Runnable...).thenMRunAsync(Iterable<? extends Runnable> actions, Executor executor) Iterable variant ofBaseCffu.thenMRunAsync(Executor, Runnable...).thenMRunFailFastAsync(Iterable<? extends Runnable> actions) Iterable variant ofBaseCffu.thenMRunFailFastAsync(Runnable...).thenMRunFailFastAsync(Iterable<? extends Runnable> actions, Executor executor) Iterable variant ofBaseCffu.thenMRunFailFastAsync(Executor, Runnable...).
-
Method Details
-
thenMApplyFailFastAsync
@CheckReturnValue(explanation="should use the returned MCffu; otherwise, prefer simple method `thenMAcceptAsync`") public <U> MCffu<U,List<U>> thenMApplyFailFastAsync(Iterable<? extends Function<? super T, ? extends U>> fns) Iterable variant ofBaseCffu.thenMApplyFailFastAsync(Function[]). -
thenMApplyFailFastAsync
@CheckReturnValue(explanation="should use the returned MCffu; otherwise, prefer simple method `thenMAcceptAsync`") public <U> MCffu<U,List<U>> thenMApplyFailFastAsync(Iterable<? extends Function<? super T, ? extends U>> fns, Executor executor) Iterable variant ofBaseCffu.thenMApplyFailFastAsync(Executor, Function[]). -
thenMApplyAllSuccessAsync
@CheckReturnValue(explanation="should use the returned MCffu; otherwise, prefer simple method `thenMAcceptAsync`") public <U> MCffu<U,List<U>> thenMApplyAllSuccessAsync(@Nullable U valueIfFailed, Iterable<? extends Function<? super T, ? extends U>> fns) Iterable variant ofBaseCffu.thenMApplyAllSuccessAsync(Object, Function[]). -
thenMApplyAllSuccessAsync
@CheckReturnValue(explanation="should use the returned MCffu; otherwise, prefer simple method `thenMAcceptAsync`") public <U> MCffu<U,List<U>> thenMApplyAllSuccessAsync(@Nullable U valueIfFailed, Iterable<? extends Function<? super T, ? extends U>> fns, Executor executor) Iterable variant ofBaseCffu.thenMApplyAllSuccessAsync(Executor, Object, Function[]). -
thenMApplyMostSuccessAsync
@CheckReturnValue(explanation="should use the returned MCffu; otherwise, prefer simple method `thenMAcceptAsync`") public <U> MCffu<U,List<U>> thenMApplyMostSuccessAsync(@Nullable U valueIfNotSuccess, long timeout, TimeUnit unit, Iterable<? extends Function<? super T, ? extends U>> fns) Iterable variant ofBaseCffu.thenMApplyMostSuccessAsync(Object, long, TimeUnit, Function[]). -
thenMApplyMostSuccessAsync
@CheckReturnValue(explanation="should use the returned MCffu; otherwise, prefer simple method `thenMAcceptAsync`") public <U> MCffu<U,List<U>> thenMApplyMostSuccessAsync(@Nullable U valueIfNotSuccess, long timeout, TimeUnit unit, Iterable<? extends Function<? super T, ? extends U>> fns, Executor executor) Iterable variant ofBaseCffu.thenMApplyMostSuccessAsync(Executor, Object, long, TimeUnit, Function[]). -
thenMApplyAsync
@CheckReturnValue(explanation="should use the returned MCffu; otherwise, prefer simple method `thenMAcceptAsync`") public <U> MCffu<U,List<U>> thenMApplyAsync(Iterable<? extends Function<? super T, ? extends U>> fns) Iterable variant ofBaseCffu.thenMApplyAsync(Function[]). -
thenMApplyAsync
@CheckReturnValue(explanation="should use the returned MCffu; otherwise, prefer simple method `thenMAcceptAsync`") public <U> MCffu<U,List<U>> thenMApplyAsync(Iterable<? extends Function<? super T, ? extends U>> fns, Executor executor) Iterable variant ofBaseCffu.thenMApplyAsync(Executor, Function[]). -
thenMApplyAnySuccessAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMAcceptAsync`") public <U> Cffu<U> thenMApplyAnySuccessAsync(Iterable<? extends Function<? super T, ? extends U>> fns) Iterable variant ofBaseCffu.thenMApplyAnySuccessAsync(Function[]). -
thenMApplyAnySuccessAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMAcceptAsync`") public <U> Cffu<U> thenMApplyAnySuccessAsync(Iterable<? extends Function<? super T, ? extends U>> fns, Executor executor) Iterable variant ofBaseCffu.thenMApplyAnySuccessAsync(Executor, Function[]). -
thenMApplyAnyAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMAcceptAsync`") public <U> Cffu<U> thenMApplyAnyAsync(Iterable<? extends Function<? super T, ? extends U>> fns) Iterable variant ofBaseCffu.thenMApplyAnyAsync(Function[]). -
thenMApplyAnyAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMAcceptAsync`") public <U> Cffu<U> thenMApplyAnyAsync(Iterable<? extends Function<? super T, ? extends U>> fns, Executor executor) Iterable variant ofBaseCffu.thenMApplyAnyAsync(Executor, Function[]). -
thenMAcceptFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMAcceptAsync`") public Cffu<Void> thenMAcceptFailFastAsync(Iterable<? extends Consumer<? super T>> actions) Iterable variant ofBaseCffu.thenMAcceptFailFastAsync(Consumer[]). -
thenMAcceptFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMAcceptAsync`") public Cffu<Void> thenMAcceptFailFastAsync(Iterable<? extends Consumer<? super T>> actions, Executor executor) Iterable variant ofBaseCffu.thenMAcceptFailFastAsync(Executor, Consumer[]). -
thenMAcceptAsync
Iterable variant ofBaseCffu.thenMAcceptAsync(Consumer[]). -
thenMAcceptAsync
public Cffu<Void> thenMAcceptAsync(Iterable<? extends Consumer<? super T>> actions, Executor executor) Iterable variant ofBaseCffu.thenMAcceptAsync(Executor, Consumer[]). -
thenMAcceptAnySuccessAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMAcceptAsync`") public Cffu<Void> thenMAcceptAnySuccessAsync(Iterable<? extends Consumer<? super T>> actions) Iterable variant ofBaseCffu.thenMAcceptAnySuccessAsync(Consumer[]). -
thenMAcceptAnySuccessAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMAcceptAsync`") public Cffu<Void> thenMAcceptAnySuccessAsync(Iterable<? extends Consumer<? super T>> actions, Executor executor) Iterable variant ofBaseCffu.thenMAcceptAnySuccessAsync(Executor, Consumer[]). -
thenMAcceptAnyAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMAcceptAsync`") public Cffu<Void> thenMAcceptAnyAsync(Iterable<? extends Consumer<? super T>> actions) Iterable variant ofBaseCffu.thenMAcceptAnyAsync(Consumer[]). -
thenMAcceptAnyAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMAcceptAsync`") public Cffu<Void> thenMAcceptAnyAsync(Iterable<? extends Consumer<? super T>> actions, Executor executor) Iterable variant ofBaseCffu.thenMAcceptAnyAsync(Executor, Consumer[]). -
thenMRunFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMRunAsync`") public Cffu<Void> thenMRunFailFastAsync(Iterable<? extends Runnable> actions) Iterable variant ofBaseCffu.thenMRunFailFastAsync(Runnable...). -
thenMRunFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMRunAsync`") public Cffu<Void> thenMRunFailFastAsync(Iterable<? extends Runnable> actions, Executor executor) Iterable variant ofBaseCffu.thenMRunFailFastAsync(Executor, Runnable...). -
thenMRunAsync
Iterable variant ofBaseCffu.thenMRunAsync(Runnable...). -
thenMRunAsync
Iterable variant ofBaseCffu.thenMRunAsync(Executor, Runnable...). -
thenMRunAnySuccessAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMRunAsync`") public Cffu<Void> thenMRunAnySuccessAsync(Iterable<? extends Runnable> actions) Iterable variant ofBaseCffu.thenMRunAnySuccessAsync(Runnable...). -
thenMRunAnySuccessAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMRunAsync`") public Cffu<Void> thenMRunAnySuccessAsync(Iterable<? extends Runnable> actions, Executor executor) Iterable variant ofBaseCffu.thenMRunAnySuccessAsync(Executor, Runnable...). -
thenMRunAnyAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMRunAsync`") public Cffu<Void> thenMRunAnyAsync(Iterable<? extends Runnable> actions) Iterable variant ofBaseCffu.thenMRunAnyAsync(Runnable...). -
thenMRunAnyAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `thenMRunAsync`") public Cffu<Void> thenMRunAnyAsync(Iterable<? extends Runnable> actions, Executor executor) Iterable variant ofBaseCffu.thenMRunAnyAsync(Executor, Runnable...).
-