Interface CacheCollection<E>

    • Method Detail

      • stream

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

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