Class VertexProgramPool
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.computer.util.VertexProgramPool
-
public final class VertexProgramPool extends Object
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
-
Constructor Summary
Constructors Constructor Description VertexProgramPool(VertexProgram vertexProgram, int poolSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
offer(VertexProgram<?> vertexProgram)
VertexProgram
take()
void
workerIterationEnd(Memory memory)
void
workerIterationStart(Memory memory)
-
-
-
Constructor Detail
-
VertexProgramPool
public VertexProgramPool(VertexProgram vertexProgram, int poolSize)
-
-
Method Detail
-
take
public VertexProgram take()
-
offer
public void offer(VertexProgram<?> vertexProgram)
-
workerIterationStart
public void workerIterationStart(Memory memory)
-
workerIterationEnd
public void workerIterationEnd(Memory memory)
-
-