public class WorkerDoneEvent extends IterationEventWithAggregators
NO_STRINGS, NO_VALUES| Constructor and Description |
|---|
WorkerDoneEvent() |
WorkerDoneEvent(int workerIndex,
Map<String,Aggregator<?>> aggregators) |
WorkerDoneEvent(int workerIndex,
String aggregatorName,
Value aggregate) |
| Modifier and Type | Method and Description |
|---|---|
int |
getWorkerIndex() |
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
getAggregates, getAggregatorNamespublic WorkerDoneEvent()
public WorkerDoneEvent(int workerIndex,
Map<String,Aggregator<?>> aggregators)
public int getWorkerIndex()
public void write(DataOutputView out) throws IOException
write in interface IOReadableWritablewrite in class IterationEventWithAggregatorsIOExceptionpublic void read(DataInputView in) throws IOException
read in interface IOReadableWritableread in class IterationEventWithAggregatorsIOExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.