Package org.infinispan.stream.impl.local
Class ValueCacheCollection<K,V>
java.lang.Object
java.util.AbstractCollection<V>
org.infinispan.commands.read.AbstractCloseableIteratorCollection<V,K,V>
org.infinispan.stream.impl.local.ValueCacheCollection<K,V>
- Type Parameters:
K- key type of the cacheV- value type of the cache
- All Implemented Interfaces:
Iterable<V>,Collection<V>,CacheCollection<V>,org.infinispan.commons.util.CloseableIteratorCollection<V>
public class ValueCacheCollection<K,V>
extends AbstractCloseableIteratorCollection<V,K,V>
implements CacheCollection<V>
CacheCollection that can be used for the values method of a cache. Backs all the calls to the cacheSet version
allowing for key filtering still to be applied.
-
Field Summary
Fields inherited from class org.infinispan.commands.read.AbstractCloseableIteratorCollection
cache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancontainsAll(Collection<?> c) org.infinispan.commons.util.CloseableIterator<V> iterator()booleanorg.infinispan.commons.util.CloseableSpliterator<V> stream()Methods inherited from class org.infinispan.commands.read.AbstractCloseableIteratorCollection
clear, isEmpty, removeAll, retainAll, size, toArray, toArrayMethods inherited from class java.util.AbstractCollection
add, addAll, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.CacheCollection
localPublisher, localPublisher
-
Constructor Details
-
ValueCacheCollection
-
-
Method Details
-
iterator
-
spliterator
- Specified by:
spliteratorin interfaceorg.infinispan.commons.util.CloseableIteratorCollection<K>- Specified by:
spliteratorin interfaceCollection<K>- Specified by:
spliteratorin interfaceIterable<K>- Specified by:
spliteratorin classAbstractCloseableIteratorCollection<V,K, V>
-
contains
- Specified by:
containsin interfaceCollection<K>- Specified by:
containsin classAbstractCloseableIteratorCollection<V,K, V>
-
containsAll
- Specified by:
containsAllin interfaceCollection<K>- Overrides:
containsAllin classAbstractCollection<V>
-
remove
- Specified by:
removein interfaceCollection<K>- Specified by:
removein classAbstractCloseableIteratorCollection<V,K, V>
-
stream
- Specified by:
streamin interfaceCacheCollection<K>- Specified by:
streamin interfaceorg.infinispan.commons.util.CloseableIteratorCollection<K>- Specified by:
streamin interfaceCollection<K>
-
parallelStream
- Specified by:
parallelStreamin interfaceCacheCollection<K>- Specified by:
parallelStreamin interfaceorg.infinispan.commons.util.CloseableIteratorCollection<K>- Specified by:
parallelStreamin interfaceCollection<K>
-