Class CffuFactory.ParOps
- Enclosing class:
CffuFactory
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionparAcceptAnyAsync
(Iterable<? extends T> elements, Consumer<? super T> action) Shortcut to methodanyOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable)
with the executorCffuFactory.defaultExecutor()
.parAcceptAnyAsync
(Iterable<? extends T> elements, Consumer<? super T> action, Executor executor) Shortcut to methodanyOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable, Executor)
.parAcceptAnySuccessAsync
(Iterable<? extends T> elements, Consumer<? super T> action) Shortcut to methodanySuccessOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable)
with the executorCffuFactory.defaultExecutor()
.parAcceptAnySuccessAsync
(Iterable<? extends T> elements, Consumer<? super T> action, Executor executor) Shortcut to methodanySuccessOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable, Executor)
.parAcceptAsync
(Iterable<? extends T> elements, Consumer<? super T> action) Shortcut to methodallResultsOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable)
with the executorCffuFactory.defaultExecutor()
.parAcceptAsync
(Iterable<? extends T> elements, Consumer<? super T> action, Executor executor) Shortcut to methodallResultsOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable, Executor)
.parAcceptFailFastAsync
(Iterable<? extends T> elements, Consumer<? super T> action) Shortcut to methodallResultsFailFastOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable)
with the executorCffuFactory.defaultExecutor()
.parAcceptFailFastAsync
(Iterable<? extends T> elements, Consumer<? super T> action, Executor executor) Shortcut to methodallResultsFailFastOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable, Executor)
.parApplyAllSuccessAsync
(Iterable<? extends T> elements, U valueIfFailed, Function<? super T, ? extends U> fn) Shortcut to methodallSuccessResultsOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier)
with the executorCffuFactory.defaultExecutor()
.parApplyAllSuccessAsync
(Iterable<? extends T> elements, U valueIfFailed, Function<? super T, ? extends U> fn, Executor executor) Shortcut to methodallSuccessResultsOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier, Executor)
.<T,
U> Cffu <U> parApplyAnyAsync
(Iterable<? extends T> elements, Function<? super T, ? extends U> fn) Shortcut to methodanyOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier)
with the executorCffuFactory.defaultExecutor()
.<T,
U> Cffu <U> parApplyAnyAsync
(Iterable<? extends T> elements, Function<? super T, ? extends U> fn, Executor executor) Shortcut to methodanyOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier, Executor)
.<T,
U> Cffu <U> parApplyAnySuccessAsync
(Iterable<? extends T> elements, Function<? super T, ? extends U> fn) Shortcut to methodanySuccessOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier)
with the executorCffuFactory.defaultExecutor()
.<T,
U> Cffu <U> parApplyAnySuccessAsync
(Iterable<? extends T> elements, Function<? super T, ? extends U> fn, Executor executor) Shortcut to methodanySuccessOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier, Executor)
.parApplyAsync
(Iterable<? extends T> elements, Function<? super T, ? extends U> fn) Shortcut to methodallResultsOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier)
with the executorCffuFactory.defaultExecutor()
.parApplyAsync
(Iterable<? extends T> elements, Function<? super T, ? extends U> fn, Executor executor) Shortcut to methodallResultsOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier, Executor)
.parApplyFailFastAsync
(Iterable<? extends T> elements, Function<? super T, ? extends U> fn) Shortcut to methodallResultsFailFastOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier)
with the executorCffuFactory.defaultExecutor()
.parApplyFailFastAsync
(Iterable<? extends T> elements, Function<? super T, ? extends U> fn, Executor executor) Shortcut to methodallResultsFailFastOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier, Executor)
.parApplyMostSuccessAsync
(Iterable<? extends T> elements, U valueIfNotSuccess, long timeout, TimeUnit unit, Function<? super T, ? extends U> fn) Shortcut to methodmostSuccessResultsOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier)
with the executorCffuFactory.defaultExecutor()
.parApplyMostSuccessAsync
(Iterable<? extends T> elements, U valueIfNotSuccess, long timeout, TimeUnit unit, Function<? super T, ? extends U> fn, Executor executor) Shortcut to methodmostSuccessResultsOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier, Executor)
.
-
Method Details
-
parApplyFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T,U> MCffu<U,List<U>> parApplyFailFastAsync(Iterable<? extends T> elements, Function<? super T, ? extends U> fn) Shortcut to methodallResultsFailFastOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier)
with the executorCffuFactory.defaultExecutor()
.See the
allResultsFailFastOf
documentation for the rules of result computation. -
parApplyFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T,U> MCffu<U,List<U>> parApplyFailFastAsync(Iterable<? extends T> elements, Function<? super T, ? extends U> fn, Executor executor) Shortcut to methodallResultsFailFastOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier, Executor)
.See the
allResultsFailFastOf
documentation for the rules of result computation. -
parApplyAllSuccessAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T,U> MCffu<U,List<U>> parApplyAllSuccessAsync(Iterable<? extends T> elements, @Nullable U valueIfFailed, Function<? super T, ? extends U> fn) Shortcut to methodallSuccessResultsOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier)
with the executorCffuFactory.defaultExecutor()
.See the
allSuccessResultsOf
documentation for the rules of result computation. -
parApplyAllSuccessAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T,U> MCffu<U,List<U>> parApplyAllSuccessAsync(Iterable<? extends T> elements, @Nullable U valueIfFailed, Function<? super T, ? extends U> fn, Executor executor) Shortcut to methodallSuccessResultsOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier, Executor)
.See the
allSuccessResultsOf
documentation for the rules of result computation. -
parApplyMostSuccessAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T,U> MCffu<U,List<U>> parApplyMostSuccessAsync(Iterable<? extends T> elements, @Nullable U valueIfNotSuccess, long timeout, TimeUnit unit, Function<? super T, ? extends U> fn) Shortcut to methodmostSuccessResultsOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier)
with the executorCffuFactory.defaultExecutor()
.See the
mostSuccessResultsOf
documentation for the rules of result computation. -
parApplyMostSuccessAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T,U> MCffu<U,List<U>> parApplyMostSuccessAsync(Iterable<? extends T> elements, @Nullable U valueIfNotSuccess, long timeout, TimeUnit unit, Function<? super T, ? extends U> fn, Executor executor) Shortcut to methodmostSuccessResultsOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier, Executor)
.See the
mostSuccessResultsOf
documentation for the rules of result computation. -
parApplyAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T,U> MCffu<U,List<U>> parApplyAsync(Iterable<? extends T> elements, Function<? super T, ? extends U> fn) Shortcut to methodallResultsOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier)
with the executorCffuFactory.defaultExecutor()
.See the
allResultsOf
documentation for the rules of result computation. -
parApplyAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T,U> MCffu<U,List<U>> parApplyAsync(Iterable<? extends T> elements, Function<? super T, ? extends U> fn, Executor executor) Shortcut to methodallResultsOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier, Executor)
.See the
allResultsOf
documentation for the rules of result computation. -
parApplyAnySuccessAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T,U> Cffu<U> parApplyAnySuccessAsync(Iterable<? extends T> elements, Function<? super T, ? extends U> fn) Shortcut to methodanySuccessOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier)
with the executorCffuFactory.defaultExecutor()
.See the
anySuccessOf
documentation for the rules of result computation. -
parApplyAnySuccessAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T,U> Cffu<U> parApplyAnySuccessAsync(Iterable<? extends T> elements, Function<? super T, ? extends U> fn, Executor executor) Shortcut to methodanySuccessOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier, Executor)
.See the
anySuccessOf
documentation for the rules of result computation. -
parApplyAnyAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T,U> Cffu<U> parApplyAnyAsync(Iterable<? extends T> elements, Function<? super T, ? extends U> fn) Shortcut to methodanyOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier)
with the executorCffuFactory.defaultExecutor()
.See the
anyOf
documentation for the rules of result computation. -
parApplyAnyAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T,U> Cffu<U> parApplyAnyAsync(Iterable<? extends T> elements, Function<? super T, ? extends U> fn, Executor executor) Shortcut to methodanyOf
, processes multiple input elements in parallel by wrapping each element's function computation into a Cffu usingCffuFactory.supplyAsync(Supplier, Executor)
.See the
anyOf
documentation for the rules of result computation. -
parAcceptFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T> Cffu<Void> parAcceptFailFastAsync(Iterable<? extends T> elements, Consumer<? super T> action) Shortcut to methodallResultsFailFastOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable)
with the executorCffuFactory.defaultExecutor()
.See the
allResultsFailFastOf
documentation for the rules of result computation. -
parAcceptFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T> Cffu<Void> parAcceptFailFastAsync(Iterable<? extends T> elements, Consumer<? super T> action, Executor executor) Shortcut to methodallResultsFailFastOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable, Executor)
.See the
allResultsFailFastOf
documentation for the rules of result computation. -
parAcceptAsync
Shortcut to methodallResultsOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable)
with the executorCffuFactory.defaultExecutor()
.See the
allResultsOf
documentation for the rules of result computation. -
parAcceptAsync
public <T> Cffu<Void> parAcceptAsync(Iterable<? extends T> elements, Consumer<? super T> action, Executor executor) Shortcut to methodallResultsOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable, Executor)
.See the
allResultsOf
documentation for the rules of result computation. -
parAcceptAnySuccessAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T> Cffu<Void> parAcceptAnySuccessAsync(Iterable<? extends T> elements, Consumer<? super T> action) Shortcut to methodanySuccessOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable)
with the executorCffuFactory.defaultExecutor()
.See the
anySuccessOf
documentation for the rules of result computation. -
parAcceptAnySuccessAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T> Cffu<Void> parAcceptAnySuccessAsync(Iterable<? extends T> elements, Consumer<? super T> action, Executor executor) Shortcut to methodanySuccessOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable, Executor)
.See the
anySuccessOf
documentation for the rules of result computation. -
parAcceptAnyAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T> Cffu<Void> parAcceptAnyAsync(Iterable<? extends T> elements, Consumer<? super T> action) Shortcut to methodanyOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable)
with the executorCffuFactory.defaultExecutor()
.See the
anyOf
documentation for the rules of result computation. -
parAcceptAnyAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer simple method `parAcceptAsync`") public <T> Cffu<Void> parAcceptAnyAsync(Iterable<? extends T> elements, Consumer<? super T> action, Executor executor) Shortcut to methodanyOf
, processes multiple input elements in parallel by wrapping each element's consumer computation into a Cffu usingCffuFactory.runAsync(Runnable, Executor)
.See the
anyOf
documentation for the rules of result computation.
-