Class SimpleCacheImpl.CacheEntrySet

    • Constructor Detail

      • CacheEntrySet

        protected CacheEntrySet()
    • Method Detail

      • iterator

        public org.infinispan.commons.util.CloseableIterator<CacheEntry<K,​V>> iterator()
        Description copied from interface: org.infinispan.commons.util.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 interface org.infinispan.commons.util.CloseableIteratorCollection<CacheEntry<K,​V>>
        Specified by:
        iterator in interface Collection<CacheEntry<K,​V>>
        Specified by:
        iterator in interface Iterable<CacheEntry<K,​V>>
        Specified by:
        iterator in interface Set<CacheEntry<K,​V>>
      • spliterator

        public org.infinispan.commons.util.CloseableSpliterator<CacheEntry<K,​V>> spliterator()
        Description copied from interface: org.infinispan.commons.util.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 interface org.infinispan.commons.util.CloseableIteratorCollection<CacheEntry<K,​V>>
        Specified by:
        spliterator in interface org.infinispan.commons.util.CloseableIteratorSet<CacheEntry<K,​V>>
        Specified by:
        spliterator in interface Collection<CacheEntry<K,​V>>
        Specified by:
        spliterator in interface Iterable<CacheEntry<K,​V>>
        Specified by:
        spliterator in interface Set<CacheEntry<K,​V>>
      • stream

        public CacheStream<CacheEntry<K,​V>> stream()
        Description copied from interface: org.infinispan.commons.util.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 interface CacheCollection<CacheEntry<K,​V>>
        Specified by:
        stream in interface org.infinispan.commons.util.CloseableIteratorCollection<CacheEntry<K,​V>>
        Specified by:
        stream in interface Collection<CacheEntry<K,​V>>
      • parallelStream

        public CacheStream<CacheEntry<K,​V>> parallelStream()
        Description copied from interface: org.infinispan.commons.util.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 interface CacheCollection<CacheEntry<K,​V>>
        Specified by:
        parallelStream in interface org.infinispan.commons.util.CloseableIteratorCollection<CacheEntry<K,​V>>
        Specified by:
        parallelStream in interface Collection<CacheEntry<K,​V>>