public static class RandomMessageBenchmark.RandomMessageBenchmarkMasterCompute extends DefaultMasterCompute
RandomMessageBenchmark
.
It registers required aggregators.Constructor and Description |
---|
RandomMessageBenchmarkMasterCompute() |
Modifier and Type | Method and Description |
---|---|
void |
initialize()
Initialize the MasterCompute class, this is the place to register
aggregators.
|
compute, readFields, write
broadcast, getAggregatedValue, getComputation, getContext, getMessageCombiner, getReduced, getSuperstep, getTotalNumEdges, getTotalNumVertices, getWorkerInfoList, haltComputation, isHalted, logToCommandLine, registerAggregator, registerPersistentAggregator, registerReducer, registerReducer, setAggregatedValue, setComputation, setGraphState, setIncomingMessage, setMasterService, setMessageCombiner, setOutgoingMessage, setOutgoingMessageClasses, setSuperstepClasses
getConf, setConf
public void initialize() throws InstantiationException, IllegalAccessException
MasterCompute
initialize
in class DefaultMasterCompute
InstantiationException
IllegalAccessException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.