Class DistributionBulkInterceptor.BackingEntrySet<K,V>
- java.lang.Object
-
- java.util.AbstractCollection<O>
-
- org.infinispan.commands.read.AbstractCloseableIteratorCollection<CacheEntry<K,V>,K,V>
-
- org.infinispan.interceptors.distribution.DistributionBulkInterceptor.BackingEntrySet<K,V>
-
- All Implemented Interfaces:
Iterable<CacheEntry<K,V>>
,Collection<CacheEntry<K,V>>
,Set<CacheEntry<K,V>>
,CacheCollection<CacheEntry<K,V>>
,CacheSet<CacheEntry<K,V>>
,CloseableIteratorCollection<CacheEntry<K,V>>
,CloseableIteratorSet<CacheEntry<K,V>>
- Direct Known Subclasses:
DistributionBulkInterceptor.TxBackingEntrySet
- Enclosing class:
- DistributionBulkInterceptor<K,V>
protected static class DistributionBulkInterceptor.BackingEntrySet<K,V> extends org.infinispan.commands.read.AbstractCloseableIteratorCollection<CacheEntry<K,V>,K,V> implements CacheSet<CacheEntry<K,V>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(Object o)
CloseableIterator<CacheEntry<K,V>>
iterator()
CacheStream<CacheEntry<K,V>>
parallelStream()
boolean
remove(Object o)
CloseableSpliterator<CacheEntry<K,V>>
spliterator()
CacheStream<CacheEntry<K,V>>
stream()
-
Methods inherited from class org.infinispan.commands.read.AbstractCloseableIteratorCollection
clear, isEmpty, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
removeIf, toArray
-
-
-
-
Field Detail
-
entrySet
protected final CacheSet<CacheEntry<K,V>> entrySet
-
command
protected final org.infinispan.commands.FlagAffectedCommand command
-
-
Method Detail
-
iterator
public CloseableIterator<CacheEntry<K,V>> iterator()
Description copied from interface:CloseableIteratorCollection
This iterator should be explicitly closed when iteration upon it is completed. Failure to do so could cause resources to not be freed properly
- Specified by:
iterator
in interfaceCloseableIteratorCollection<K>
- Specified by:
iterator
in interfaceCollection<K>
- Specified by:
iterator
in interfaceIterable<K>
- Specified by:
iterator
in interfaceSet<K>
- Specified by:
iterator
in classorg.infinispan.commands.read.AbstractCloseableIteratorCollection<CacheEntry<K,V>,K,V>
-
spliterator
public CloseableSpliterator<CacheEntry<K,V>> spliterator()
Description copied from interface:CloseableIteratorCollection
This spliterator should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
spliterator
in interfaceCloseableIteratorCollection<K>
- Specified by:
spliterator
in interfaceCloseableIteratorSet<K>
- Specified by:
spliterator
in interfaceCollection<K>
- Specified by:
spliterator
in interfaceIterable<K>
- Specified by:
spliterator
in interfaceSet<K>
- Specified by:
spliterator
in classorg.infinispan.commands.read.AbstractCloseableIteratorCollection<CacheEntry<K,V>,K,V>
-
contains
public boolean contains(Object o)
-
remove
public boolean remove(Object o)
-
stream
public CacheStream<CacheEntry<K,V>> stream()
Description copied from interface:CloseableIteratorCollection
This stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
stream
in interfaceCacheCollection<K>
- Specified by:
stream
in interfaceCloseableIteratorCollection<K>
- Specified by:
stream
in interfaceCollection<K>
-
parallelStream
public CacheStream<CacheEntry<K,V>> parallelStream()
Description copied from interface:CloseableIteratorCollection
This stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
parallelStream
in interfaceCacheCollection<K>
- Specified by:
parallelStream
in interfaceCloseableIteratorCollection<K>
- Specified by:
parallelStream
in interfaceCollection<K>
-
-