Class PageRank.SimplePageRankMasterCompute
- java.lang.Object
-
- org.apache.giraph.conf.DefaultImmutableClassesGiraphConfigurable
-
- org.apache.giraph.master.MasterCompute
-
- org.apache.giraph.master.DefaultMasterCompute
-
- com.alibaba.graphscope.example.giraph.PageRank.SimplePageRankMasterCompute
-
- 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:
- PageRank
public static class PageRank.SimplePageRankMasterCompute extends org.apache.giraph.master.DefaultMasterComputeMaster compute associated withPageRank. It registers required aggregators.
-
-
Constructor Summary
Constructors Constructor Description SimplePageRankMasterCompute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize()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, IllegalAccessExceptionDescription copied from class:MasterComputeInitialize the MasterCompute class, this is the place to register aggregators.- Overrides:
initializein classorg.apache.giraph.master.DefaultMasterCompute- Throws:
InstantiationExceptionIllegalAccessException
-
-