public static class SimplePageRankComputation.SimplePageRankWorkerContext extends WorkerContext
SimplePageRankComputation
.Constructor and Description |
---|
SimplePageRankWorkerContext() |
Modifier and Type | Method and Description |
---|---|
static double |
getFinalMax() |
static double |
getFinalMin() |
static long |
getFinalSum() |
void |
postApplication() |
void |
postSuperstep() |
void |
preApplication() |
void |
preSuperstep() |
getAndClearMessagesFromOtherWorkers, getContext, getMyWorkerIndex, getSuperstep, getTotalNumEdges, getTotalNumVertices, getWorkerCount, getWorkerForVertex, logToCommandLine, readFields, sendMessageToWorker, setGraphState, setupSuperstep, write
aggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsage
getConf, setConf
public static double getFinalMax()
public static double getFinalMin()
public static long getFinalSum()
public void preApplication() throws InstantiationException, IllegalAccessException
preApplication
in class WorkerContext
InstantiationException
IllegalAccessException
public void postApplication()
postApplication
in class WorkerContext
public void preSuperstep()
preSuperstep
in class WorkerContext
public void postSuperstep()
postSuperstep
in class WorkerContext
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.