Class DistributionBulkInterceptor.BackingKeySet<K,V>
- java.lang.Object
-
- java.util.AbstractCollection<O>
-
- org.infinispan.commands.read.AbstractCloseableIteratorCollection<K,K,V>
-
- org.infinispan.interceptors.distribution.DistributionBulkInterceptor.BackingKeySet<K,V>
-
- All Implemented Interfaces:
Iterable<K>,Collection<K>,Set<K>,CacheCollection<K>,CacheSet<K>,CloseableIteratorCollection<K>,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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(Object o)CloseableIterator<K>iterator()CacheStream<K>parallelStream()booleanremove(Object o)CloseableSpliterator<K>spliterator()CacheStream<K>stream()-
Methods inherited from class org.infinispan.commands.read.AbstractCloseableIteratorCollection
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
-
-
-
-
Method Detail
-
iterator
public CloseableIterator<K> iterator()
Description copied from interface:CloseableIteratorCollectionThis 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:
iteratorin interfaceCloseableIteratorCollection<K>- Specified by:
iteratorin interfaceCollection<K>- Specified by:
iteratorin interfaceIterable<K>- Specified by:
iteratorin interfaceSet<K>- Specified by:
iteratorin classorg.infinispan.commands.read.AbstractCloseableIteratorCollection<K,K,V>
-
contains
public boolean contains(Object o)
-
remove
public boolean remove(Object o)
-
spliterator
public CloseableSpliterator<K> spliterator()
Description copied from interface:CloseableIteratorCollectionThis spliterator should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
spliteratorin interfaceCloseableIteratorCollection<K>- Specified by:
spliteratorin interfaceCloseableIteratorSet<K>- Specified by:
spliteratorin interfaceCollection<K>- Specified by:
spliteratorin interfaceIterable<K>- Specified by:
spliteratorin interfaceSet<K>- Specified by:
spliteratorin classorg.infinispan.commands.read.AbstractCloseableIteratorCollection<K,K,V>
-
stream
public CacheStream<K> stream()
Description copied from interface:CloseableIteratorCollectionThis stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
streamin interfaceCacheCollection<K>- Specified by:
streamin interfaceCloseableIteratorCollection<K>- Specified by:
streamin interfaceCollection<K>
-
parallelStream
public CacheStream<K> parallelStream()
Description copied from interface:CloseableIteratorCollectionThis stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
parallelStreamin interfaceCacheCollection<K>- Specified by:
parallelStreamin interfaceCloseableIteratorCollection<K>- Specified by:
parallelStreamin interfaceCollection<K>
-
-