Package org.infinispan.util
Class DataContainerRemoveIterator<K,V>
- java.lang.Object
-
- org.infinispan.util.DataContainerRemoveIterator<K,V>
-
- All Implemented Interfaces:
Iterator<CacheEntry<K,V>>
public class DataContainerRemoveIterator<K,V> extends Object implements Iterator<CacheEntry<K,V>>
This is an iterator that will iterate upon the data container. A cache is also provided to be used when the remove method on the iterator is invoked. Note that this means it will take part of any ongoing transaction if there is one.
-
-
Constructor Summary
Constructors Constructor Description DataContainerRemoveIterator(Cache<K,V> cache)
DataContainerRemoveIterator(Cache<K,V> cache, DataContainer<K,V> dataContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
CacheEntry<K,V>
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-