Package org.dataloader
Class DispatchResult<T>
- java.lang.Object
-
- org.dataloader.DispatchResult<T>
-
- Type Parameters:
T
- for two
@PublicApi public class DispatchResult<T> extends java.lang.Object
When a DataLoader is dispatched this object holds the promised results and also the count of key asked for via methods likeDataLoader.load(Object)
orDataLoader.loadMany(java.util.List)
-
-
Constructor Summary
Constructors Constructor Description DispatchResult(java.util.concurrent.CompletableFuture<java.util.List<T>> futureList, int keysCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getKeysCount()
java.util.concurrent.CompletableFuture<java.util.List<T>>
getPromisedResults()
-