org.apache.tinkerpop.gremlin.process.computer

## Interface Memory.Admin

- All Superinterfaces:
    Memory
  All Known Implementing Classes:
    EmptyMemory, ImmutableMemory, MapMemory, SparkMemory, TinkerMemory, TinkerWorkerMemory
  Enclosing interface:
    Memory

      public static interface Memory.Admin
      extends Memory

  The Admin interface is used by the `GraphComputer` to update the Memory. The developer should never need to type-cast the provided Memory to Memory.Admin.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.computer.Memory

      `Memory.Admin, Memory.Exceptions`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default Memory` | `asImmutable()`
    `default void` | `incrIteration()`
    `void` | `setIteration(int iteration)`
    `void` | `setRuntime(long runtime)`

    - ### Methods inherited from interface org.apache.tinkerpop.gremlin.process.computer.Memory

      `add, asMap, exists, get, getIteration, getRuntime, isInitialIteration, keys, set`

- - ### Method Detail

    - #### incrIteration

          default void incrIteration()

    - #### setIteration

          void setIteration(int iteration)

    - #### setRuntime

          void setRuntime(long runtime)

    - #### asImmutable

          default Memory asImmutable()

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