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:
java.lang.Iterable<CacheEntry<K,V>>,java.util.Collection<CacheEntry<K,V>>,java.util.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 booleancontains(java.lang.Object o)CloseableIterator<CacheEntry<K,V>>iterator()CacheStream<CacheEntry<K,V>>parallelStream()booleanremove(java.lang.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
-
-
-
-
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:CloseableIteratorCollectionThis 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:
iteratorin interfaceCloseableIteratorCollection<K>- Specified by:
iteratorin interfacejava.util.Collection<K>- Specified by:
iteratorin interfacejava.lang.Iterable<K>- Specified by:
iteratorin interfacejava.util.Set<K>- Specified by:
iteratorin classorg.infinispan.commands.read.AbstractCloseableIteratorCollection<CacheEntry<K,V>,K,V>
-
spliterator
public CloseableSpliterator<CacheEntry<K,V>> spliterator()
Description copied from interface:CloseableIteratorCollectionThis spliterator should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
spliteratorin interfaceCloseableIteratorCollection<K>- Specified by:
spliteratorin interfaceCloseableIteratorSet<K>- Specified by:
spliteratorin interfacejava.util.Collection<K>- Specified by:
spliteratorin interfacejava.lang.Iterable<K>- Specified by:
spliteratorin interfacejava.util.Set<K>- Specified by:
spliteratorin classorg.infinispan.commands.read.AbstractCloseableIteratorCollection<CacheEntry<K,V>,K,V>
-
contains
public boolean contains(java.lang.Object o)
-
remove
public boolean remove(java.lang.Object o)
-
stream
public CacheStream<CacheEntry<K,V>> stream()
Description copied from interface:CloseableIteratorCollectionThis stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
streamin interfaceCacheCollection<K>- Specified by:
streamin interfaceCloseableIteratorCollection<K>- Specified by:
streamin interfacejava.util.Collection<K>
-
parallelStream
public CacheStream<CacheEntry<K,V>> parallelStream()
Description copied from interface:CloseableIteratorCollectionThis stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
parallelStreamin interfaceCacheCollection<K>- Specified by:
parallelStreamin interfaceCloseableIteratorCollection<K>- Specified by:
parallelStreamin interfacejava.util.Collection<K>
-
-