public class PersistenceEntryStreamSupplier<K,V> extends Object implements AbstractLocalCacheStream.StreamSupplier<CacheEntry<K,V>,Stream<CacheEntry<K,V>>>
PersistenceManager to publish entries
using segments if possible.| Constructor and Description |
|---|
PersistenceEntryStreamSupplier(Cache<K,V> cache,
InternalEntryFactory iceFactory,
ToIntFunction<Object> toIntFunction,
CacheStream<CacheEntry<K,V>> inMemoryStream,
PersistenceManager persistenceManager) |
| Modifier and Type | Method and Description |
|---|---|
Stream<CacheEntry<K,V>> |
buildStream(IntSet segmentsToFilter,
Set<?> keysToFilter,
boolean parallel) |
public PersistenceEntryStreamSupplier(Cache<K,V> cache, InternalEntryFactory iceFactory, ToIntFunction<Object> toIntFunction, CacheStream<CacheEntry<K,V>> inMemoryStream, PersistenceManager persistenceManager)
public Stream<CacheEntry<K,V>> buildStream(IntSet segmentsToFilter, Set<?> keysToFilter, boolean parallel)
buildStream in interface AbstractLocalCacheStream.StreamSupplier<CacheEntry<K,V>,Stream<CacheEntry<K,V>>>Copyright © 2022 JBoss by Red Hat. All rights reserved.