K
- key type of the cacheV
- value type of the cachepublic abstract class AbstractDelegatingEntryCacheSet<K,V> extends AbstractDelegatingCacheSet<CacheEntry<K,V>>
Modifier | Constructor and Description |
---|---|
protected |
AbstractDelegatingEntryCacheSet(Cache<K,V> cache,
CacheSet<CacheEntry<K,V>> set) |
Modifier and Type | Method and Description |
---|---|
protected CacheSet<CacheEntry<K,V>> |
delegate() |
protected CacheStream<CacheEntry<K,V>> |
getStream(boolean parallel) |
CacheStream<CacheEntry<K,V>> |
parallelStream() |
CacheStream<CacheEntry<K,V>> |
stream() |
iterator, spliterator
add, addAll, clear, contains, containsAll, forEach, isEmpty, remove, removeAll, removeIf, retainAll, size, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
localPublisher, localPublisher
spliterator
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
iterator
removeIf
protected final CacheSet<CacheEntry<K,V>> delegate()
delegate
in class AbstractDelegatingCacheSet<CacheEntry<K,V>>
public CacheStream<CacheEntry<K,V>> stream()
CloseableIteratorCollection
This stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
stream
in interface Collection<CacheEntry<K,V>>
stream
in interface CacheCollection<CacheEntry<K,V>>
stream
in interface CloseableIteratorCollection<CacheEntry<K,V>>
stream
in class AbstractDelegatingCacheCollection<CacheEntry<K,V>>
public CacheStream<CacheEntry<K,V>> parallelStream()
CloseableIteratorCollection
This stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
parallelStream
in interface Collection<CacheEntry<K,V>>
parallelStream
in interface CacheCollection<CacheEntry<K,V>>
parallelStream
in interface CloseableIteratorCollection<CacheEntry<K,V>>
parallelStream
in class AbstractDelegatingCacheCollection<CacheEntry<K,V>>
protected CacheStream<CacheEntry<K,V>> getStream(boolean parallel)
Copyright © 2021 JBoss by Red Hat. All rights reserved.