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, toArrayadd, addAll, containsAll, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitlocalPublisher, localPublisheradd, addAll, clear, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArrayremoveIfprotected final FlagAffectedCommand command
public CloseableIterator<K> iterator()
CloseableIteratorCollectionThis 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()
CloseableIteratorCollectionThis 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()
CloseableIteratorCollectionThis 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()
CloseableIteratorCollectionThis 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 © 2022 JBoss by Red Hat. All rights reserved.