protected class LocalEntryRetriever.Itr<C> extends Object implements CloseableIterator<CacheEntry<K,C>>
| Constructor and Description |
|---|
Itr(int batchSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntries(Collection<CacheEntry<K,C>> entries) |
void |
close() |
protected void |
close(CacheException e) |
boolean |
hasNext() |
CacheEntry<K,C> |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic boolean hasNext()
hasNext in interface Iterator<CacheEntry<K,C>>public CacheEntry<K,C> next()
next in interface Iterator<CacheEntry<K,C>>public void remove()
remove in interface Iterator<CacheEntry<K,C>>public void addEntries(Collection<CacheEntry<K,C>> entries) throws InterruptedException
InterruptedExceptionpublic void close()
close in interface AutoCloseableclose in interface CloseableIterator<CacheEntry<K,C>>protected void close(CacheException e)
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.