V
- Type of valuesjava.lang.AutoCloseable
, java.io.Closeable
, java.util.Iterator<V>
, KeyValueIterator<java.lang.Long,V>
public interface WindowStoreIterator<V> extends KeyValueIterator<java.lang.Long,V>, java.io.Closeable
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.Modifier and Type | Method | Description |
---|---|---|
void |
close() |
peekNextKey
void close()
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
close
in interface KeyValueIterator<java.lang.Long,V>