public static final class RpcTaskResult.Aggregator extends java.lang.Object implements TaskResult.Aggregator<RpcTaskResult>
RpcTaskResult.| Constructor and Description |
|---|
Aggregator() |
| Modifier and Type | Method and Description |
|---|---|
Summary |
aggregate(java.lang.Iterable<RpcTaskResult> results)
Aggregates multiple instances of a
TaskResult to a summary. |
static RpcTaskResult |
reduceList(java.lang.Iterable<RpcTaskResult> results)
Reduce a list of
RpcTaskResult into one. |
public Summary aggregate(java.lang.Iterable<RpcTaskResult> results) throws java.lang.Exception
TaskResult.AggregatorTaskResult to a summary.aggregate in interface TaskResult.Aggregator<RpcTaskResult>results - list of TaskResultjava.lang.Exceptionpublic static RpcTaskResult reduceList(java.lang.Iterable<RpcTaskResult> results)
RpcTaskResult into one.results - a list of results to combineCopyright © 2022. All Rights Reserved.