K - Key typeV - Value typepublic class TCacheEntryIterator<K,V> extends Object implements Iterator<javax.cache.Cache.Entry<K,V>>
remove() is called it has the same effects, as calling cache.remove(key). This includes effects on statistics and the CacheListener REMOVE notification.| Constructor and Description |
|---|
TCacheEntryIterator(Cache<K,V> tcache,
ConcurrentMap<K,AccessTimeObjectHolder<V>> objects,
TCacheExpiryPolicy expiryPolicy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
javax.cache.Cache.Entry<K,V> |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic TCacheEntryIterator(Cache<K,V> tcache, ConcurrentMap<K,AccessTimeObjectHolder<V>> objects, TCacheExpiryPolicy expiryPolicy)
Copyright © 2018 trivago. All rights reserved.