protected static class DistributionBulkInterceptor.BackingKeySet<K,V> extends AbstractCloseableIteratorCollection<K,K,V> implements CacheSet<K>
Modifier and Type | Field and Description |
---|---|
protected FlagAffectedCommand |
command |
protected CacheSet<K> |
keySet |
cache
Constructor and Description |
---|
BackingKeySet(Cache<K,V> cache,
CacheSet<K> keySet,
FlagAffectedCommand command) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object o) |
CloseableIterator<K> |
iterator() |
CacheStream<K> |
parallelStream() |
boolean |
remove(Object o) |
CloseableSpliterator<K> |
spliterator() |
CacheStream<K> |
stream() |
clear, isEmpty, removeAll, retainAll, size, toArray, toArray
add, addAll, containsAll, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
localPublisher, localPublisher
add, addAll, clear, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArray
removeIf
protected final FlagAffectedCommand command
public CloseableIterator<K> iterator()
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
public boolean contains(Object o)
public boolean remove(Object o)
public CloseableSpliterator<K> spliterator()
CloseableIteratorCollection
This spliterator should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
spliterator
in interface Iterable<K>
spliterator
in interface Collection<K>
spliterator
in interface Set<K>
spliterator
in interface CloseableIteratorCollection<K>
spliterator
in interface CloseableIteratorSet<K>
spliterator
in class AbstractCloseableIteratorCollection<K,K,V>
public CacheStream<K> stream()
CloseableIteratorCollection
This stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
stream
in interface Collection<K>
stream
in interface CacheCollection<K>
stream
in interface CloseableIteratorCollection<K>
public CacheStream<K> parallelStream()
CloseableIteratorCollection
This stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
parallelStream
in interface Collection<K>
parallelStream
in interface CacheCollection<K>
parallelStream
in interface CloseableIteratorCollection<K>
Copyright © 2021 JBoss by Red Hat. All rights reserved.