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