Interface SnapshotIterator<K,​V>

  • Type Parameters:
    K - the key type of the snapshot region
    V - the value type the snapshot region
    All Superinterfaces:
    AutoCloseable

    public interface SnapshotIterator<K,​V>
    extends AutoCloseable
    Iterates over the entries in a region snapshot. Holds resources that must be freed via close().
    Since:
    GemFire 7.0
    See Also:
    SnapshotReader
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Closes the iterator and its underlying resources.
      boolean hasNext()
      Returns true if there are more elements in the iteration.
      Map.Entry<K,​V> next()
      Returns the next element in the iteration.