public static class PageRankWithKryoSimpleWritable.PageRankWithKryoWorkerContext extends WorkerContext
PageRankWithKryoSimpleWritable.| Constructor and Description | 
|---|
| PageRankWithKryoWorkerContext() | 
| Modifier and Type | Method and Description | 
|---|---|
| static double | getFinalMax() | 
| static double | getFinalMin() | 
| static long | getFinalSum() | 
| void | postApplication()Finalize the WorkerContext. | 
| void | postSuperstep()Execute user code. | 
| void | preApplication()Initialize the WorkerContext. | 
| void | preSuperstep()Execute user code. | 
getAndClearMessagesFromOtherWorkers, getContext, getMyWorkerIndex, getSuperstep, getTotalNumEdges, getTotalNumVertices, getWorkerCount, getWorkerForVertex, logToCommandLine, readFields, sendMessageToWorker, setGraphState, setupSuperstep, writeaggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsagegetConf, setConfpublic static double getFinalMax()
public static double getFinalMin()
public static long getFinalSum()
public void preApplication()
                    throws InstantiationException,
                           IllegalAccessException
WorkerContextpreApplication in class WorkerContextInstantiationException - Expected instantiation in this method.IllegalAccessException - Thrown for getting the classpublic void postApplication()
WorkerContextpostApplication in class WorkerContextpublic void preSuperstep()
WorkerContextpreSuperstep in class WorkerContextpublic void postSuperstep()
WorkerContextpostSuperstep in class WorkerContextCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.