public static class SimpleCheckpoint.SimpleCheckpointVertexWorkerContext extends WorkerContext
SimpleCheckpoint
.Modifier and Type | Field and Description |
---|---|
static String |
FAULT_FILE
Filename to indicate whether a fault was found
|
Constructor and Description |
---|
SimpleCheckpointVertexWorkerContext() |
Modifier and Type | Method and Description |
---|---|
boolean |
getEnableFault() |
static long |
getFinalSum() |
int |
getSupersteps() |
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 final String FAULT_FILE
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
public int getSupersteps()
public boolean getEnableFault()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.