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 boolean
contains(Object o)
CloseableIterator<K>
iterator()
CacheStream<K>
parallelStream()
boolean
remove(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: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 interfaceCloseableIteratorCollection<K>
- Specified by:
iterator
in interfaceCollection<K>
- Specified by:
iterator
in interfaceIterable<K>
- Specified by:
iterator
in interfaceSet<K>
- Specified by:
iterator
in 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: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 interfaceCloseableIteratorCollection<K>
- Specified by:
spliterator
in interfaceCloseableIteratorSet<K>
- Specified by:
spliterator
in interfaceCollection<K>
- Specified by:
spliterator
in interfaceIterable<K>
- Specified by:
spliterator
in interfaceSet<K>
- Specified by:
spliterator
in classorg.infinispan.commands.read.AbstractCloseableIteratorCollection<K,K,V>
-
stream
public CacheStream<K> stream()
Description copied from interface: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 interfaceCacheCollection<K>
- Specified by:
stream
in interfaceCloseableIteratorCollection<K>
- Specified by:
stream
in interfaceCollection<K>
-
parallelStream
public CacheStream<K> parallelStream()
Description copied from interface: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 interfaceCacheCollection<K>
- Specified by:
parallelStream
in interfaceCloseableIteratorCollection<K>
- Specified by:
parallelStream
in interfaceCollection<K>
-
-