Class DistributionBulkInterceptor.BackingKeySet<K,​V>

    • Field Summary

      Modifier and Type Field Description
      protected org.infinispan.commands.FlagAffectedCommand command  
      protected CacheSet<K> keySet  
      • Fields inherited from class

    • Constructor Summary

      Constructor Description
      BackingKeySet​(Cache<K,​V> cache, CacheSet<K> keySet, org.infinispan.commands.FlagAffectedCommand command)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contains​(java.lang.Object o)  
      CloseableIterator<K> iterator()
      CacheStream<K> parallelStream()
      boolean remove​(java.lang.Object o)  
      CloseableSpliterator<K> spliterator()
      CacheStream<K> stream()
      • Methods inherited from class

        clear, isEmpty, removeAll, retainAll, size, toArray, toArray
      • Methods inherited from class java.util.AbstractCollection

        add, addAll, containsAll, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        removeIf, toArray
      • Methods inherited from interface java.lang.Iterable

      • Methods inherited from interface java.util.Set

        add, addAll, clear, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArray
    • Field Detail

      • command

        protected final org.infinispan.commands.FlagAffectedCommand command
    • Constructor Detail

      • BackingKeySet

        public BackingKeySet​(Cache<K,​V> cache,
                             CacheSet<K> keySet,
                             org.infinispan.commands.FlagAffectedCommand command)
    • Method Detail

      • iterator

        public CloseableIterator<K> iterator()
        Description copied from interface: 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 CloseableIteratorCollection<K>
        Specified by:
        iterator in interface java.util.Collection<K>
        Specified by:
        iterator in interface java.lang.Iterable<K>
        Specified by:
        iterator in interface java.util.Set<K>
        Specified by:
        iterator in class<K,​K,​V>
      • contains

        public boolean contains​(java.lang.Object o)
        Specified by:
        contains in interface java.util.Collection<K>
        Specified by:
        contains in interface java.util.Set<K>
        Specified by:
        contains in class<K,​K,​V>
      • remove

        public boolean remove​(java.lang.Object o)
        Specified by:
        remove in interface java.util.Collection<K>
        Specified by:
        remove in interface java.util.Set<K>
        Specified by:
        remove in class<K,​K,​V>
      • spliterator

        public CloseableSpliterator<K> spliterator()
        Description copied from interface: 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 CloseableIteratorCollection<K>
        Specified by:
        spliterator in interface CloseableIteratorSet<K>
        Specified by:
        spliterator in interface java.util.Collection<K>
        Specified by:
        spliterator in interface java.lang.Iterable<K>
        Specified by:
        spliterator in interface java.util.Set<K>
        Specified by:
        spliterator in class<K,​K,​V>