Package org.infinispan.cache.impl
Class SimpleCacheImpl.CacheEntrySet
java.lang.Object
java.util.AbstractCollection<CacheEntry<K,V>>
java.util.AbstractSet<CacheEntry<K,V>>
SimpleCacheImpl<K,V>.org.infinispan.cache.impl.SimpleCacheImpl.EntrySetBase<CacheEntry<K,V>>
org.infinispan.cache.impl.SimpleCacheImpl.CacheEntrySet
- 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>>
- Enclosing class:
SimpleCacheImpl<K,
V>
protected class SimpleCacheImpl.CacheEntrySet
extends SimpleCacheImpl<K,V>.EntrySetBase<CacheEntry<K,V>>
implements CacheSet<CacheEntry<K,V>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(CacheEntry<K, V> entry) boolean
addAll
(Collection<? extends CacheEntry<K, V>> c) iterator()
stream()
Methods inherited from class org.infinispan.cache.impl.SimpleCacheImpl.EntrySetBase
clear, contains, isEmpty, remove, removeAll, retainAll, size, toArray
Methods inherited from class java.util.AbstractSet
equals, hashCode
Methods inherited from class java.util.AbstractCollection
containsAll, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.infinispan.CacheCollection
localPublisher, localPublisher
Methods inherited from interface java.util.Collection
removeIf, toArray
-
Constructor Details
-
CacheEntrySet
protected CacheEntrySet()
-
-
Method Details
-
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<CacheEntry<K,
V>> - Specified by:
iterator
in interfaceCollection<CacheEntry<K,
V>> - Specified by:
iterator
in interfaceIterable<CacheEntry<K,
V>> - Specified by:
iterator
in interfaceSet<CacheEntry<K,
V>> - Specified by:
iterator
in classAbstractCollection<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<CacheEntry<K,
V>> - Specified by:
spliterator
in interfaceCloseableIteratorSet<CacheEntry<K,
V>> - Specified by:
spliterator
in interfaceCollection<CacheEntry<K,
V>> - Specified by:
spliterator
in interfaceIterable<CacheEntry<K,
V>> - Specified by:
spliterator
in interfaceSet<CacheEntry<K,
V>>
-
add
- Specified by:
add
in interfaceCollection<CacheEntry<K,
V>> - Specified by:
add
in interfaceSet<CacheEntry<K,
V>> - Overrides:
add
in classAbstractCollection<CacheEntry<K,
V>>
-
addAll
- Specified by:
addAll
in interfaceCollection<CacheEntry<K,
V>> - Specified by:
addAll
in interfaceSet<CacheEntry<K,
V>> - Overrides:
addAll
in classAbstractCollection<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<CacheEntry<K,
V>> - Specified by:
stream
in interfaceCloseableIteratorCollection<CacheEntry<K,
V>> - Specified by:
stream
in interfaceCollection<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<CacheEntry<K,
V>> - Specified by:
parallelStream
in interfaceCloseableIteratorCollection<CacheEntry<K,
V>> - Specified by:
parallelStream
in interfaceCollection<CacheEntry<K,
V>>
-