public final class TinkerWorkerPool extends Object implements AutoCloseable
Constructor and Description |
---|
TinkerWorkerPool(int numberOfWorkers) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
executeMapReduce(Consumer<MapReduce> worker) |
void |
executeVertexProgram(Consumer<VertexProgram> worker) |
void |
mapReduceWorkerEnd(MapReduce.Stage stage) |
void |
mapReduceWorkerStart(MapReduce.Stage stage) |
void |
setMapReduce(MapReduce mapReduce) |
void |
setVertexProgram(VertexProgram vertexProgram) |
void |
vertexProgramWorkerIterationEnd(Memory memory) |
void |
vertexProgramWorkerIterationStart(Memory memory) |
public void setVertexProgram(VertexProgram vertexProgram)
public void setMapReduce(MapReduce mapReduce)
public void vertexProgramWorkerIterationStart(Memory memory)
public void vertexProgramWorkerIterationEnd(Memory memory)
public void executeVertexProgram(Consumer<VertexProgram> worker)
public void mapReduceWorkerStart(MapReduce.Stage stage)
public void mapReduceWorkerEnd(MapReduce.Stage stage)
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.