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 Details

    • DataContainerRemoveIterator

      public DataContainerRemoveIterator(Cache<K,V> cache)
    • DataContainerRemoveIterator

      public DataContainerRemoveIterator(Cache<K,V> cache, DataContainer<K,V> dataContainer)
  • Method Details