Class DistributionBulkInterceptor.BackingKeySet<K,​V>

  • All Implemented Interfaces:
    Iterable<K>, Collection<K>, Set<K>, CacheCollection<K>, CacheSet<K>, org.infinispan.commons.util.CloseableIteratorCollection<K>, org.infinispan.commons.util.CloseableIteratorSet<K>
    Enclosing class:
    DistributionBulkInterceptor<K,​V>

    protected static class DistributionBulkInterceptor.BackingKeySet<K,​V>
    extends org.infinispan.commands.read.AbstractCloseableIteratorCollection<K,​K,​V>
    implements CacheSet<K>
    • Method Detail

      • iterator

        public org.infinispan.commons.util.CloseableIterator<K> 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<K>
        Specified by:
        iterator in interface Collection<K>
        Specified by:
        iterator in interface Iterable<K>
        Specified by:
        iterator in interface Set<K>
        Specified by:
        iterator in class org.infinispan.commands.read.AbstractCloseableIteratorCollection<K,​K,​V>
      • contains

        public boolean contains​(Object o)
        Specified by:
        contains in interface Collection<K>
        Specified by:
        contains in interface Set<K>
        Specified by:
        contains in class org.infinispan.commands.read.AbstractCloseableIteratorCollection<K,​K,​V>
      • remove

        public boolean remove​(Object o)
        Specified by:
        remove in interface Collection<K>
        Specified by:
        remove in interface Set<K>
        Specified by:
        remove in class org.infinispan.commands.read.AbstractCloseableIteratorCollection<K,​K,​V>
      • spliterator

        public org.infinispan.commons.util.CloseableSpliterator<K> 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<K>
        Specified by:
        spliterator in interface org.infinispan.commons.util.CloseableIteratorSet<K>
        Specified by:
        spliterator in interface Collection<K>
        Specified by:
        spliterator in interface Iterable<K>
        Specified by:
        spliterator in interface Set<K>
        Specified by:
        spliterator in class org.infinispan.commands.read.AbstractCloseableIteratorCollection<K,​K,​V>
      • stream

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

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