protected static class DistributionBulkInterceptor.BackingEntrySet<K,V> extends AbstractCloseableIteratorCollection<CacheEntry<K,V>,K,V> implements CacheSet<CacheEntry<K,V>>
Modifier and Type | Field and Description |
---|---|
protected FlagAffectedCommand |
command |
protected CacheSet<CacheEntry<K,V>> |
entrySet |
cache
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object o) |
CloseableIterator<CacheEntry<K,V>> |
iterator() |
CacheStream<CacheEntry<K,V>> |
parallelStream() |
boolean |
remove(Object o) |
CloseableSpliterator<CacheEntry<K,V>> |
spliterator() |
CacheStream<CacheEntry<K,V>> |
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 CacheSet<CacheEntry<K,V>> entrySet
protected final FlagAffectedCommand command
public CloseableIterator<CacheEntry<K,V>> 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
iterator
in interface Iterable<CacheEntry<K,V>>
iterator
in interface Collection<CacheEntry<K,V>>
iterator
in interface Set<CacheEntry<K,V>>
iterator
in interface CloseableIteratorCollection<CacheEntry<K,V>>
iterator
in class AbstractCloseableIteratorCollection<CacheEntry<K,V>,K,V>
public CloseableSpliterator<CacheEntry<K,V>> 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<CacheEntry<K,V>>
spliterator
in interface Collection<CacheEntry<K,V>>
spliterator
in interface Set<CacheEntry<K,V>>
spliterator
in interface CloseableIteratorCollection<CacheEntry<K,V>>
spliterator
in interface CloseableIteratorSet<CacheEntry<K,V>>
spliterator
in class AbstractCloseableIteratorCollection<CacheEntry<K,V>,K,V>
public boolean contains(Object o)
contains
in interface Collection<CacheEntry<K,V>>
contains
in interface Set<CacheEntry<K,V>>
contains
in class AbstractCloseableIteratorCollection<CacheEntry<K,V>,K,V>
public boolean remove(Object o)
remove
in interface Collection<CacheEntry<K,V>>
remove
in interface Set<CacheEntry<K,V>>
remove
in class AbstractCloseableIteratorCollection<CacheEntry<K,V>,K,V>
public CacheStream<CacheEntry<K,V>> 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<CacheEntry<K,V>>
stream
in interface CacheCollection<CacheEntry<K,V>>
stream
in interface CloseableIteratorCollection<CacheEntry<K,V>>
public CacheStream<CacheEntry<K,V>> 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<CacheEntry<K,V>>
parallelStream
in interface CacheCollection<CacheEntry<K,V>>
parallelStream
in interface CloseableIteratorCollection<CacheEntry<K,V>>
Copyright © 2021 JBoss by Red Hat. All rights reserved.