Class AbstractDelegatingCacheCollection<E>

    • Constructor Detail

      • AbstractDelegatingCacheCollection

        public AbstractDelegatingCacheCollection()
    • Method Detail

      • stream

        public CacheStream<E> 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<E>
        Specified by:
        stream in interface org.infinispan.commons.util.CloseableIteratorCollection<E>
        Specified by:
        stream in interface Collection<E>
        Overrides:
        stream in class org.infinispan.commons.util.AbstractDelegatingCollection<E>
      • parallelStream

        public CacheStream<E> 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<E>
        Specified by:
        parallelStream in interface org.infinispan.commons.util.CloseableIteratorCollection<E>
        Specified by:
        parallelStream in interface Collection<E>
        Overrides:
        parallelStream in class org.infinispan.commons.util.AbstractDelegatingCollection<E>