Class DispatchResult<T>

java.lang.Object
org.dataloader.DispatchResult<T>
Type Parameters:
T - for two

@PublicApi @NullMarked public class DispatchResult<T> extends Object
When a DataLoader is dispatched this object holds the promised results and also the count of key asked for via methods like DataLoader.load(Object) or DataLoader.loadMany(java.util.List)
  • Constructor Details

  • Method Details

    • getPromisedResults

      public CompletableFuture<List<T>> getPromisedResults()
    • getKeysCount

      public int getKeysCount()