Class SimpleCacheImpl.Values

    • Constructor Detail

      • Values

        public Values()
    • Method Detail

      • retainAll

        public boolean retainAll​(Collection<?> c)
        Specified by:
        retainAll in interface Collection<V>
        Overrides:
        retainAll in class org.infinispan.commons.util.CloseableIteratorCollectionAdapter<V>
      • removeAll

        public boolean removeAll​(Collection<?> c)
        Specified by:
        removeAll in interface Collection<V>
        Overrides:
        removeAll in class org.infinispan.commons.util.CloseableIteratorCollectionAdapter<V>
      • remove

        public boolean remove​(Object o)
        Specified by:
        remove in interface Collection<V>
        Overrides:
        remove in class org.infinispan.commons.util.CloseableIteratorCollectionAdapter<V>
      • clear

        public void clear()
        Specified by:
        clear in interface Collection<V>
        Overrides:
        clear in class org.infinispan.commons.util.CloseableIteratorCollectionAdapter<V>
      • iterator

        public org.infinispan.commons.util.CloseableIterator<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<V>
        Specified by:
        iterator in interface Collection<V>
        Specified by:
        iterator in interface Iterable<V>
        Overrides:
        iterator in class org.infinispan.commons.util.CloseableIteratorCollectionAdapter<V>
      • size

        public int size()
        Specified by:
        size in interface Collection<V>
        Overrides:
        size in class org.infinispan.commons.util.CloseableIteratorCollectionAdapter<V>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface Collection<V>
        Overrides:
        isEmpty in class org.infinispan.commons.util.CloseableIteratorCollectionAdapter<V>
      • stream

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

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