org.apache.tinkerpop.gremlin.process.computer.util

## 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 and Description
    `VertexProgramPool(VertexProgram vertexProgram, int poolSize)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `offer(VertexProgram<?> vertexProgram)`
    `VertexProgram` | `take()`
    `void` | `workerIterationEnd(Memory memory)`
    `void` | `workerIterationStart(Memory memory)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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)

Copyright © 2013–2022 Apache Software Foundation. All rights reserved.