Class AbstractDelegatingKeyCacheSet<K,V>
- java.lang.Object
-
- org.infinispan.commons.util.AbstractDelegatingCollection<E>
-
- org.infinispan.util.AbstractDelegatingCloseableIteratorCollection<E>
-
- org.infinispan.util.AbstractDelegatingCacheCollection<E>
-
- org.infinispan.util.AbstractDelegatingCacheSet<K>
-
- org.infinispan.stream.impl.interceptor.AbstractDelegatingKeyCacheSet<K,V>
-
- Type Parameters:
K
- key type of the cacheV
- value type of the cache
- All Implemented Interfaces:
Iterable<K>
,Collection<K>
,Set<K>
,CacheCollection<K>
,CacheSet<K>
,org.infinispan.commons.util.CloseableIteratorCollection<K>
,org.infinispan.commons.util.CloseableIteratorSet<K>
public abstract class AbstractDelegatingKeyCacheSet<K,V> extends AbstractDelegatingCacheSet<K>
Abstract cache key set that delegates to the underlying cache for stream usage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CacheSet<K>
delegate()
protected CacheStream<K>
getStream(boolean parallel)
CacheStream<K>
parallelStream()
CacheStream<K>
stream()
-
Methods inherited from class org.infinispan.util.AbstractDelegatingCloseableIteratorCollection
iterator, spliterator
-
Methods inherited from class org.infinispan.commons.util.AbstractDelegatingCollection
add, addAll, clear, contains, containsAll, forEach, isEmpty, remove, removeAll, removeIf, retainAll, size, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.commons.util.CloseableIteratorCollection
iterator, spliterator
-
Methods inherited from interface java.util.Collection
removeIf, toArray
-
-
-
-
Method Detail
-
delegate
protected final CacheSet<K> delegate()
- Specified by:
delegate
in classAbstractDelegatingCacheSet<K>
-
stream
public CacheStream<K> stream()
- Specified by:
stream
in interfaceCacheCollection<K>
- Specified by:
stream
in interfaceorg.infinispan.commons.util.CloseableIteratorCollection<K>
- Specified by:
stream
in interfaceCollection<K>
- Overrides:
stream
in classAbstractDelegatingCacheCollection<K>
-
parallelStream
public CacheStream<K> parallelStream()
- Specified by:
parallelStream
in interfaceCacheCollection<K>
- Specified by:
parallelStream
in interfaceorg.infinispan.commons.util.CloseableIteratorCollection<K>
- Specified by:
parallelStream
in interfaceCollection<K>
- Overrides:
parallelStream
in classAbstractDelegatingCacheCollection<K>
-
getStream
protected CacheStream<K> getStream(boolean parallel)
-
-