public final class GiraphWorkerContext
extends org.apache.giraph.worker.WorkerContext
| Constructor and Description |
|---|
GiraphWorkerContext() |
| Modifier and Type | Method and Description |
|---|---|
GiraphMemory |
getMemory() |
GiraphMessenger |
getMessenger(GiraphComputeVertex giraphComputeVertex,
Iterator<ObjectWritable> messages) |
VertexProgramPool |
getVertexProgramPool() |
void |
postApplication() |
void |
postSuperstep() |
void |
preApplication() |
void |
preSuperstep() |
public void preApplication()
throws InstantiationException,
IllegalAccessException
preApplication in class org.apache.giraph.worker.WorkerContextInstantiationExceptionIllegalAccessExceptionpublic void postApplication()
postApplication in class org.apache.giraph.worker.WorkerContextpublic void preSuperstep()
preSuperstep in class org.apache.giraph.worker.WorkerContextpublic void postSuperstep()
postSuperstep in class org.apache.giraph.worker.WorkerContextpublic VertexProgramPool getVertexProgramPool()
public GiraphMemory getMemory()
public GiraphMessenger getMessenger(GiraphComputeVertex giraphComputeVertex, Iterator<ObjectWritable> messages)
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.