Class PageRank.SimplePageRankWorkerContext

  • All Implemented Interfaces:
    org.apache.giraph.aggregators.AggregatorUsage, org.apache.giraph.conf.GiraphConfigurationSettable<org.apache.hadoop.io.WritableComparable,​org.apache.hadoop.io.Writable,​org.apache.hadoop.io.Writable>, org.apache.giraph.conf.ImmutableClassesGiraphConfigurable<org.apache.hadoop.io.WritableComparable,​org.apache.hadoop.io.Writable,​org.apache.hadoop.io.Writable>, org.apache.giraph.worker.WorkerAggregatorUsage, org.apache.giraph.worker.WorkerBroadcastUsage, org.apache.giraph.worker.WorkerGlobalCommUsage, org.apache.giraph.worker.WorkerIndexUsage<org.apache.hadoop.io.WritableComparable>, org.apache.giraph.worker.WorkerReduceUsage, org.apache.hadoop.io.Writable
    Enclosing class:
    PageRank

    public static class PageRank.SimplePageRankWorkerContext
    extends WorkerContext
    Worker context used with PageRank.
    • Constructor Detail

      • SimplePageRankWorkerContext

        public SimplePageRankWorkerContext()
    • Method Detail

      • getFinalMax

        public static double getFinalMax()
      • getFinalMin

        public static double getFinalMin()
      • getFinalSum

        public static long getFinalSum()
      • postApplication

        public void postApplication()
        Description copied from class: WorkerContext
        Finalize the WorkerContext. This method is executed once on each Worker after the last superstep ends.
        Specified by:
        postApplication in class WorkerContext
      • preSuperstep

        public void preSuperstep()
        Description copied from class: WorkerContext
        Execute user code. This method is executed once on each Worker before each superstep starts.
        Specified by:
        preSuperstep in class WorkerContext
      • postSuperstep

        public void postSuperstep()
        Description copied from class: WorkerContext
        Execute user code. This method is executed once on each Worker after each superstep ends.
        Specified by:
        postSuperstep in class WorkerContext