-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
DistributedCallableBatch<R>
- All Known Implementing Classes:
DistributedCommandBatch
public interface ResultMerger<R> extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
merge(List<R> results)
Invoked to perform a merge of results.
-
-
-
Method Detail
-
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.
-
-