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, write
getConf, setConf
public void preApplication() throws InstantiationException, IllegalAccessException
preApplication
in class MigrationWorkerContext.MigrationFullWorkerContext
InstantiationException
IllegalAccessException
public void preSuperstep()
preSuperstep
in class MigrationWorkerContext
public void postSuperstep()
postSuperstep
in class MigrationWorkerContext
public void postApplication()
postApplication
in class MigrationWorkerContext.MigrationFullWorkerContext
public static void setFinalSum(double sum)
public static double getFinalSum()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.