Interface ResultMerger<R>

All Superinterfaces:
Serializable
All Known Subinterfaces:
DistributedCallableBatch<R>
All Known Implementing Classes:
DistributedCommandBatch

public interface ResultMerger<R> extends Serializable
  • Method Summary

    Modifier and Type
    Method
    Description
    merge(List<R> results)
    Invoked to perform a merge of results.
  • Method Details

    • merge

      R merge(List<R> results)
      Invoked to perform a merge of results. Implementations should not make any assumptions about the order of the results (specifically, the order of the results will not necessarily be the same as partition ids). This also may be invoked multiple times to allow hierarchical merging.
      Parameters:
      results - the results
      Returns:
      the merged results.