public static class SimpleVertexWithWorkerContext.EmitterWorkerContext extends WorkerContext
| Constructor and Description |
|---|
EmitterWorkerContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
emit(String s)
Write this string to the output stream.
|
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 void preApplication()
WorkerContextpreApplication in class WorkerContextpublic void postApplication()
WorkerContextpostApplication in class WorkerContextpublic void preSuperstep()
WorkerContextpreSuperstep in class WorkerContextpublic void postSuperstep()
WorkerContextpostSuperstep in class WorkerContextpublic void emit(String s)
s - String to dump.Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.