Interface WindowStoreIterator<V>

  • Type Parameters:
    V - Type of values
    All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable, java.util.Iterator<KeyValue<java.lang.Long,​V>>, KeyValueIterator<java.lang.Long,​V>

    public interface WindowStoreIterator<V>
    extends KeyValueIterator<java.lang.Long,​V>, java.io.Closeable
    Iterator interface of KeyValue with key typed Long used for ReadOnlyWindowStore.fetch(Object, long, long). Users must call its close method explicitly upon completeness to release resources, or use try-with-resources statement (available since JDK7) for this Closeable class.
    • Method Detail

      • close

        void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface KeyValueIterator<java.lang.Long,​V>