public static class TestCheckpointing.CheckpointVertexWorkerContext extends DefaultWorkerContext
Constructor and Description |
---|
CheckpointVertexWorkerContext() |
Modifier and Type | Method and Description |
---|---|
static long |
getFinalSum() |
void |
postApplication() |
void |
postSuperstep() |
void |
preSuperstep() |
void |
readFields(DataInput dataInput) |
void |
write(DataOutput dataOutput) |
preApplication
getAndClearMessagesFromOtherWorkers, getContext, getMyWorkerIndex, getSuperstep, getTotalNumEdges, getTotalNumVertices, getWorkerCount, getWorkerForVertex, logToCommandLine, sendMessageToWorker, setGraphState, setupSuperstep
aggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsage
getConf, setConf
public static long getFinalSum()
public void postSuperstep()
postSuperstep
in class DefaultWorkerContext
public void postApplication()
postApplication
in class DefaultWorkerContext
public void preSuperstep()
preSuperstep
in class DefaultWorkerContext
public void readFields(DataInput dataInput) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class WorkerContext
IOException
public void write(DataOutput dataOutput) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class WorkerContext
IOException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.