Package org.infinispan.cache.impl
Class CacheBackedKeySet<K,V> 
java.lang.Object
org.infinispan.cache.impl.AbstractCacheBackedSet<K,V,K>
  
org.infinispan.cache.impl.CacheBackedKeySet<K,V> 
- All Implemented Interfaces:
- Iterable<K>,- Collection<K>,- Set<K>,- CacheCollection<K>,- CacheSet<K>,- CloseableIteratorCollection<K>,- CloseableIteratorSet<K>
Key set backed by a cache.
- Since:
- 13.0
- 
Field SummaryFields inherited from class org.infinispan.cache.impl.AbstractCacheBackedSetcache, explicitFlags, lockOwner
- 
Constructor SummaryConstructorsConstructorDescriptionCacheBackedKeySet(CacheImpl<K, V> cache, Object lockOwner, long explicitFlags) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanprotected ObjectextractKey(Object e) Extract the key from a set element.protected KwrapElement(K e) Wrap the element if neededMethods inherited from class org.infinispan.cache.impl.AbstractCacheBackedSetadd, addAll, clear, containsAll, decoratedWriteContextBuilder, forEach, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.CacheCollectionlocalPublisher, localPublisherMethods inherited from interface java.util.CollectiontoArray
- 
Constructor Details- 
CacheBackedKeySet
 
- 
- 
Method Details- 
contains
- 
entryToKeyFunction- Specified by:
- entryToKeyFunctionin class- AbstractCacheBackedSet<K,- V, - K> 
 
- 
extractKeyDescription copied from class:AbstractCacheBackedSetExtract the key from a set element.- Specified by:
- extractKeyin class- AbstractCacheBackedSet<K,- V, - K> 
 
- 
wrapElementDescription copied from class:AbstractCacheBackedSetWrap the element if needed- Specified by:
- wrapElementin class- AbstractCacheBackedSet<K,- V, - K> 
 
 
-