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, wait
forEachRemaining
public 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
InterruptedException
public void close()
close
in interface AutoCloseable
close
in interface CloseableIterator<CacheEntry<K,C>>
protected void close(CacheException e)
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.