Interface MultiFetcher.ResponseAggregator

Enclosing class:
MultiFetcher
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface MultiFetcher.ResponseAggregator
  • Method Details

    • aggregate

      FetchResponse aggregate(FetchRequest request, List<FetchResponse> multiResponse)
      Aggregate multiple results to produce a single one.
      Parameters:
      request - the original request
      multiResponse - responses to aggregate
      Returns:
      new response