public class TrackingEntryIterableFromStream<K,V,C> extends Object implements CloseableIterable<CacheEntry<K,C>>
Modifier and Type | Field and Description |
---|---|
protected AdvancedCache<K,V> |
cache |
protected AtomicBoolean |
closed |
protected Converter<? super K,? super V,C> |
converter |
protected KeyValueFilter<? super K,? super V> |
filter |
protected Set<Stream<?>> |
streams |
Constructor and Description |
---|
TrackingEntryIterableFromStream(KeyValueFilter<? super K,? super V> filter,
Converter<? super K,? super V,C> converter,
EnumSet<Flag> flags,
Cache<K,V> cache) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
CloseableIterator<CacheEntry<K,C>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected final KeyValueFilter<? super K,? super V> filter
protected final AdvancedCache<K,V> cache
protected final AtomicBoolean closed
public void close()
close
in interface AutoCloseable
close
in interface CloseableIterable<CacheEntry<K,C>>
public CloseableIterator<CacheEntry<K,C>> iterator()
iterator
in interface Iterable<CacheEntry<K,C>>
iterator
in interface CloseableIterable<CacheEntry<K,C>>
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.