Uses of Interface
org.dataloader.impl.PromisedValues
-
Packages that use PromisedValues Package Description org.dataloader.impl -
-
Uses of PromisedValues in org.dataloader.impl
Classes in org.dataloader.impl that implement PromisedValues Modifier and Type Class Description class
PromisedValuesImpl<T>
Methods in org.dataloader.impl that return PromisedValues Modifier and Type Method Description static <T> PromisedValues<T>
PromisedValues. allOf(java.util.concurrent.CompletionStage<T> f1, java.util.concurrent.CompletionStage<T> f2)
Returns a newPromisedValues
that is completed when all of the givenCompletionStage
s complete.static <T> PromisedValues<T>
PromisedValues. allOf(java.util.concurrent.CompletionStage<T> f1, java.util.concurrent.CompletionStage<T> f2, java.util.concurrent.CompletionStage<T> f3)
Returns a newPromisedValues
that is completed when all of the givenCompletionStage
s complete.static <T> PromisedValues<T>
PromisedValues. allOf(java.util.concurrent.CompletionStage<T> f1, java.util.concurrent.CompletionStage<T> f2, java.util.concurrent.CompletionStage<T> f3, java.util.concurrent.CompletionStage<T> f4)
Returns a newPromisedValues
that is completed when all of the givenCompletionStage
s complete.static <T> PromisedValues<T>
PromisedValues. allOf(java.util.List<? extends java.util.concurrent.CompletionStage<T>> cfs)
Returns a newPromisedValues
that is completed when all of the givenCompletionStage
s complete.static <T> PromisedValues<T>
PromisedValues. allPromisedValues(java.util.List<PromisedValues<T>> cfs)
Returns a newPromisedValues
that is completed when all of the givenPromisedValues
s complete.static <T> PromisedValues<T>
PromisedValues. allPromisedValues(PromisedValues<T> pv1, PromisedValues<T> pv2)
Returns a newPromisedValues
that is completed when all of the givenPromisedValues
s complete.static <T> PromisedValues<T>
PromisedValues. allPromisedValues(PromisedValues<T> pv1, PromisedValues<T> pv2, PromisedValues<T> pv3)
Returns a newPromisedValues
that is completed when all of the givenPromisedValues
s complete.static <T> PromisedValues<T>
PromisedValues. allPromisedValues(PromisedValues<T> pv1, PromisedValues<T> pv2, PromisedValues<T> pv3, PromisedValues<T> pv4)
Returns a newPromisedValues
that is completed when all of the givenPromisedValues
s complete.static <T> PromisedValues<T>
PromisedValuesImpl. combineAllOf(java.util.List<? extends java.util.concurrent.CompletionStage<T>> cfs)
static <T> PromisedValues<T>
PromisedValuesImpl. combinePromisedValues(java.util.List<PromisedValues<T>> promisedValues)
PromisedValues<T>
PromisedValues. thenAccept(java.util.function.Consumer<PromisedValues<T>> handler)
When the all the futures complete, this call back will be invoked with thisPromisedValues
as a parameterPromisedValues<T>
PromisedValuesImpl. thenAccept(java.util.function.Consumer<PromisedValues<T>> handler)
Methods in org.dataloader.impl with parameters of type PromisedValues Modifier and Type Method Description static <T> PromisedValues<T>
PromisedValues. allPromisedValues(PromisedValues<T> pv1, PromisedValues<T> pv2)
Returns a newPromisedValues
that is completed when all of the givenPromisedValues
s complete.static <T> PromisedValues<T>
PromisedValues. allPromisedValues(PromisedValues<T> pv1, PromisedValues<T> pv2, PromisedValues<T> pv3)
Returns a newPromisedValues
that is completed when all of the givenPromisedValues
s complete.static <T> PromisedValues<T>
PromisedValues. allPromisedValues(PromisedValues<T> pv1, PromisedValues<T> pv2, PromisedValues<T> pv3, PromisedValues<T> pv4)
Returns a newPromisedValues
that is completed when all of the givenPromisedValues
s complete.Method parameters in org.dataloader.impl with type arguments of type PromisedValues Modifier and Type Method Description static <T> PromisedValues<T>
PromisedValues. allPromisedValues(java.util.List<PromisedValues<T>> cfs)
Returns a newPromisedValues
that is completed when all of the givenPromisedValues
s complete.static <T> PromisedValues<T>
PromisedValuesImpl. combinePromisedValues(java.util.List<PromisedValues<T>> promisedValues)
PromisedValues<T>
PromisedValues. thenAccept(java.util.function.Consumer<PromisedValues<T>> handler)
When the all the futures complete, this call back will be invoked with thisPromisedValues
as a parameterPromisedValues<T>
PromisedValuesImpl. thenAccept(java.util.function.Consumer<PromisedValues<T>> handler)
-