public static class SimpleMigrationMasterBlockFactory.SimpleMigrationMasterWorkerContext extends MigrationWorkerContext.MigrationFullWorkerContext
SimpleMigrationMasterBlockFactory.SimpleMigrationMasterComputation.MigrationWorkerContext.MigrationFullWorkerContext| Constructor and Description |
|---|
SimpleMigrationMasterWorkerContext() |
| Modifier and Type | Method and Description |
|---|---|
static double |
getFinalSum() |
void |
postApplication() |
void |
postSuperstep() |
void |
preApplication() |
void |
preSuperstep() |
static void |
setFinalSum(double sum) |
getAndClearMessagesFromOtherWorkers, getMyWorkerIndex, getTotalNumEdges, getTotalNumVertices, getWorkerCount, readFields, sendMessageToWorker, setApi, setReceivedMessages, writegetConf, setConfpublic void preApplication()
throws InstantiationException,
IllegalAccessException
preApplication in class MigrationWorkerContext.MigrationFullWorkerContextInstantiationExceptionIllegalAccessExceptionpublic void preSuperstep()
preSuperstep in class MigrationWorkerContextpublic void postSuperstep()
postSuperstep in class MigrationWorkerContextpublic void postApplication()
postApplication in class MigrationWorkerContext.MigrationFullWorkerContextpublic static void setFinalSum(double sum)
public static double getFinalSum()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.