all Of Cffu Void
- Returns a new Cffu that is completed when all the given Cffus complete. If any of the given Cffu complete exceptionally, then the returned Cffu also does so, with a CompletionException holding this exception as its cause. Otherwise, the results, if any, of the given Cffus are not reflected in the returned Cffu(Cffu<Void>
), but may be obtained by inspecting them individually. If no Cffus are provided, returns a Cffu completed with the value null
.
Same as CffuFactory.allOf, providing this method is convenient for method chaining.
If this collection is not empty, cffuFactory
argument is optional, use the cffuFactory
of the first cffu element. If this collection is empty and nocffuFactory
provided, throw IllegalArgumentException.
See also
Returns a new Cffu that is completed when all the given Cffus complete. If any of the given Cffu complete exceptionally, then the returned Cffu also does so, with a CompletionException holding this exception as its cause. Otherwise, the results, if any, of the given Cffus are not reflected in the returned Cffu(Cffu<Void>
), but may be obtained by inspecting them individually. If no Cffus are provided, returns a Cffu completed with the value null
.
Same as CffuFactory.allOf, providing this method is convenient for method chaining.
If this array is not empty, cffuFactory
argument is optional, use the cffuFactory
of the first cffu element. If this array is empty and nocffuFactory
provided, throw IllegalArgumentException.
See also
Returns a new Cffu that is completed when all the given CompletableFutures complete. If any of the given Cffu complete exceptionally, then the returned Cffu also does so, with a CompletionException holding this exception as its cause. Otherwise, the results, if any, of the given CompletableFutures are not reflected in the returned Cffu(Cffu<Void>
), but may be obtained by inspecting them individually. If no CompletableFutures are provided, returns a Cffu completed with the value null
.
Same as CffuFactory.allOf, providing this method is convenient for method chaining.