| Constructor and Description |
|---|
PrefetchIterator(Iterator<K> keys)
Upon each
next() call, threadCount prefetches
are being executed if possible. |
PrefetchIterator(Iterator<K> keys,
int threadCount)
Upon each
next() call, threadCount prefetches
are being executed if possible. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This object closes automatically when the
hasNext()
returns false |
abstract V |
fetch(K key)
Potentially expensive operation
|
boolean |
hasNext() |
V |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic PrefetchIterator(Iterator<K> keys)
next() call, threadCount prefetches
are being executed if possible.keys - Copyright © 2017. All rights reserved.