public interface Aggregator4Worker
Aggregator4Master for detailed information about aggregation
process.| Modifier and Type | Method and Description |
|---|---|
<V extends Value<?>> |
aggregatedValue(String name)
Get the aggregated value in worker-computation, the value is aggregated
by master at previous superstep, it won't be changed in a superstep.
|
<V extends Value<?>> |
aggregateValue(String name,
V value)
Set aggregate value in worker.
|
<V extends Value<?>> |
createAggregator(String name)
Create aggregator by name in worker-computation, the aggregator is
registered by master-computation.
|
<V extends Value<?>> Aggregator<V> createAggregator(String name)
<V extends Value<?>> void aggregateValue(String name, V value)
value - The value to be aggregated<V extends Value<?>> V aggregatedValue(String name)
Copyright © 2020–2021. All rights reserved.