Class AggregateBenchmark.AggregateBenchmarkMasterCompute
- java.lang.Object
-
- org.apache.giraph.conf.DefaultImmutableClassesGiraphConfigurable
-
- org.apache.giraph.master.MasterCompute
-
- org.apache.giraph.master.DefaultMasterCompute
-
- com.alibaba.graphscope.example.giraph.AggregateBenchmark.AggregateBenchmarkMasterCompute
-
- All Implemented Interfaces:
org.apache.giraph.aggregators.AggregatorUsage
,org.apache.giraph.conf.GiraphConfigurationSettable
,org.apache.giraph.conf.ImmutableClassesGiraphConfigurable
,org.apache.giraph.master.MasterAggregatorUsage
,org.apache.giraph.master.MasterGlobalCommUsage
,org.apache.giraph.master.MasterGlobalCommUsageAggregators
,org.apache.hadoop.io.Writable
- Enclosing class:
- AggregateBenchmark
public static class AggregateBenchmark.AggregateBenchmarkMasterCompute extends org.apache.giraph.master.DefaultMasterCompute
Master compute associated withPageRank
. It registers required aggregators.
-
-
Constructor Summary
Constructors Constructor Description AggregateBenchmarkMasterCompute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize()
Initialize the MasterCompute class, this is the place to register aggregators.-
Methods inherited from class org.apache.giraph.master.DefaultMasterCompute
compute, readFields, write
-
Methods inherited from class org.apache.giraph.master.MasterCompute
broadcast, getAggregatedValue, getComputation, getContext, getMessageCombiner, getReduced, getSuperstep, getTotalNumEdges, getTotalNumVertices, haltComputation, incSuperStep, isHalted, logToCommandLine, registerAggregator, registerPersistentAggregator, registerReducer, registerReducer, setAggregatedValue, setAggregatorManager, setComputation, setFragment, setIncomingMessage, setMessageCombiner, setOutgoingMessage, setOutgoingMessageClasses, setSuperStep
-
-
-
-
Method Detail
-
initialize
public void initialize() throws InstantiationException, IllegalAccessException
Description copied from class:MasterCompute
Initialize the MasterCompute class, this is the place to register aggregators.- Overrides:
initialize
in classorg.apache.giraph.master.DefaultMasterCompute
- Throws:
InstantiationException
IllegalAccessException
-
-