Uses of Interface
org.infinispan.CacheStream
Package
Description
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
Provides capabilities around filtering and converting entries that are found in the cache or cache store/loader.
General utilities that are not specific to Infinispan, including string parsing helpers, reflection tools and
collections and containers designed to supplement the JDK-provided containers.
-
Uses of CacheStream in org.infinispan
Modifier and TypeMethodDescriptionDoubleCacheStream.boxed()
IntCacheStream.boxed()
LongCacheStream.boxed()
CacheStream.disableRehashAware()
Disables tracking of rehash events that could occur to the underlying cache.CacheStream.distinct()
CacheStream.distributedBatchSize
(int batchSize) Controls how many keys are returned from a remote node when using a stream terminal operation with a distributed cache to back this stream.default CacheStream<R>
CacheStream.filter
(SerializablePredicate<? super R> predicate) Same asfilter(Predicate)
except that the Predicate must also implementSerializable
CacheStream.filterKeys
(Set<?> keys) Filters which entries are returned by only returning ones that map to the given key.CacheStream.filterKeySegments
(Set<Integer> segments) Deprecated.CacheStream.filterKeySegments
(IntSet segments) Filters which entries are returned by what segment they are present in.<R1> CacheStream<R1>
default <R1> CacheStream<R1>
CacheStream.flatMap
(SerializableFunction<? super R, ? extends Stream<? extends R1>> mapper) Same asflatMap(Function)
except that the Function must also implementSerializable
CacheStream.limit
(long maxSize) <R1> CacheStream<R1>
default <R1> CacheStream<R1>
CacheStream.map
(SerializableFunction<? super R, ? extends R1> mapper) Same asmap(Function)
except that the Function must also implementSerializable
<U> CacheStream<U>
DoubleCacheStream.mapToObj
(DoubleFunction<? extends U> mapper) default <U> CacheStream<U>
DoubleCacheStream.mapToObj
(SerializableDoubleFunction<? extends U> mapper) Same asDoubleCacheStream.mapToObj(DoubleFunction)
except that the DoubleFunction must also implementSerializable
<U> CacheStream<U>
IntCacheStream.mapToObj
(IntFunction<? extends U> mapper) default <U> CacheStream<U>
IntCacheStream.mapToObj
(SerializableIntFunction<? extends U> mapper) Same asIntCacheStream.mapToObj(IntFunction)
except that the IntFunction must also implementSerializable
<U> CacheStream<U>
LongCacheStream.mapToObj
(LongFunction<? extends U> mapper) default <U> CacheStream<U>
LongCacheStream.mapToObj
(SerializableLongFunction<? extends U> mapper) Same asLongCacheStream.mapToObj(LongFunction)
except that the LongFunction must also implement Serializable.CacheStream.parallel()
CacheStream.parallelDistribution()
CacheCollection.parallelStream()
final CacheStream<E>
InternalCacheSet.parallelStream()
default CacheStream<R>
CacheStream.peek
(SerializableConsumer<? super R> action) Same aspeek(Consumer)
except that the Consumer must also implementSerializable
CacheStream.segmentCompletionListener
(BaseCacheStream.SegmentCompletionListener listener) Allows registration of a segment completion listener that is notified when a segment has completed processing.CacheStream.sequential()
CacheStream.sequentialDistribution()
This would disable sending requests to all other remote nodes compared to one at a time.CacheStream.skip
(long n) CacheStream.sorted()
CacheStream.sorted
(Comparator<? super R> comparator) default CacheStream<R>
CacheStream.sorted
(SerializableComparator<? super R> comparator) Same assorted(Comparator)
except that the Comparator must also implementSerializable
CacheCollection.stream()
final CacheStream<E>
InternalCacheSet.stream()
Sets a given time to wait for a remote operation to respond by.CacheStream.unordered()
-
Uses of CacheStream in org.infinispan.cache.impl
Modifier and TypeMethodDescriptionAbstractCacheBackedSet.parallelStream()
SimpleCacheImpl.CacheEntrySet.parallelStream()
SimpleCacheImpl.EntrySet.parallelStream()
SimpleCacheImpl.KeySet.parallelStream()
SimpleCacheImpl.Values.parallelStream()
AbstractCacheBackedSet.stream()
SimpleCacheImpl.CacheEntrySet.stream()
SimpleCacheImpl.EntrySet.stream()
SimpleCacheImpl.KeySet.stream()
SimpleCacheImpl.Values.stream()
-
Uses of CacheStream in org.infinispan.distribution.group.impl
Modifier and TypeMethodDescription<K,
V> Map<K, V> GroupManager.collect
(CacheStream<? extends CacheEntry<K, V>> stream, InvocationContext ctx, String groupName) Collects all entries belonging to a single group.<K,
V> Map<K, V> GroupManagerImpl.collect
(CacheStream<? extends CacheEntry<K, V>> stream, InvocationContext ctx, String groupName) -
Uses of CacheStream in org.infinispan.filter
Modifier and TypeMethodDescriptionstatic <K,
V, C> CacheStream<CacheEntry<K, C>> CacheFilters.filterAndConvert
(CacheStream<CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) static <K,
V, C> CacheStream<K> CacheFilters.filterAndConvertToKey
(CacheStream<CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) static <K,
V, C> CacheStream<C> CacheFilters.filterAndConvertToValue
(CacheStream<CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) Modifier and TypeMethodDescriptionstatic <K,
V, C> CacheStream<CacheEntry<K, C>> CacheFilters.filterAndConvert
(CacheStream<CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) static <K,
V, C> CacheStream<K> CacheFilters.filterAndConvertToKey
(CacheStream<CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) static <K,
V, C> CacheStream<C> CacheFilters.filterAndConvertToValue
(CacheStream<CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) -
Uses of CacheStream in org.infinispan.stream.impl
Modifier and TypeClassDescriptionclass
DistributedCacheStream<Original,
R> Implementation ofCacheStream
that provides support for lazily distributing stream methods to appropriate nodesclass
IntermediateCacheStream<Original,
R> An intermediate cache stream used when an intermediate operation that requires both a remote and local portionModifier and TypeMethodDescriptionDistributedDoubleCacheStream.boxed()
DistributedIntCacheStream.boxed()
DistributedLongCacheStream.boxed()
IntermediateDoubleCacheStream.boxed()
IntermediateIntCacheStream.boxed()
IntermediateLongCacheStream.boxed()
DistributedCacheStream.disableRehashAware()
IntermediateCacheStream.disableRehashAware()
DistributedCacheStream.distinct()
IntermediateCacheStream.distinct()
DistributedCacheStream.distributedBatchSize
(int batchSize) IntermediateCacheStream.distributedBatchSize
(int batchSize) DistributedCacheStream.filterKeys
(Set<?> keys) IntermediateCacheStream.filterKeys
(Set<?> keys) DistributedCacheStream.filterKeySegments
(Set<Integer> segments) DistributedCacheStream.filterKeySegments
(IntSet segments) IntermediateCacheStream.filterKeySegments
(Set<Integer> segments) IntermediateCacheStream.filterKeySegments
(IntSet segments) <R1> CacheStream<R1>
<R1> CacheStream<R1>
DistributedCacheStream.limit
(long maxSize) IntermediateCacheStream.limit
(long maxSize) <R1> CacheStream<R1>
<R1> CacheStream<R1>
<U> CacheStream<U>
DistributedDoubleCacheStream.mapToObj
(DoubleFunction<? extends U> mapper) <U> CacheStream<U>
DistributedDoubleCacheStream.mapToObj
(SerializableDoubleFunction<? extends U> mapper) <U> CacheStream<U>
DistributedIntCacheStream.mapToObj
(IntFunction<? extends U> mapper) <U> CacheStream<U>
DistributedIntCacheStream.mapToObj
(SerializableIntFunction<? extends U> mapper) <U> CacheStream<U>
DistributedLongCacheStream.mapToObj
(LongFunction<? extends U> mapper) <U> CacheStream<U>
DistributedLongCacheStream.mapToObj
(SerializableLongFunction<? extends U> mapper) <U> CacheStream<U>
IntermediateDoubleCacheStream.mapToObj
(DoubleFunction<? extends U> mapper) <U> CacheStream<U>
IntermediateIntCacheStream.mapToObj
(IntFunction<? extends U> mapper) <U> CacheStream<U>
IntermediateLongCacheStream.mapToObj
(LongFunction<? extends U> mapper) IntermediateCacheStream.parallel()
DistributedCacheStream.parallelDistribution()
IntermediateCacheStream.parallelDistribution()
DistributedCacheStream.segmentCompletionListener
(BaseCacheStream.SegmentCompletionListener listener) IntermediateCacheStream.segmentCompletionListener
(BaseCacheStream.SegmentCompletionListener listener) IntermediateCacheStream.sequential()
DistributedCacheStream.sequentialDistribution()
IntermediateCacheStream.sequentialDistribution()
DistributedCacheStream.skip
(long n) IntermediateCacheStream.skip
(long n) DistributedCacheStream.sorted()
DistributedCacheStream.sorted
(Comparator<? super R> comparator) IntermediateCacheStream.sorted()
IntermediateCacheStream.sorted
(Comparator<? super R> comparator) IntermediateCacheStream.unordered()
protected CacheStream<R>
DistributedCacheStream.unwrap()
ModifierConstructorDescriptionLockedStreamImpl
(CacheStream<CacheEntry<K, V>> realStream, long time, TimeUnit unit) TxLockedStreamImpl
(javax.transaction.TransactionManager tm, CacheStream<CacheEntry<K, V>> realStream, long time, TimeUnit unit) -
Uses of CacheStream in org.infinispan.util
Modifier and TypeClassDescriptionclass
Delegate that forwards all the of the method calls to the underlying cache stream.Modifier and TypeFieldDescriptionprotected CacheStream<?>
AbstractDelegatingCacheStream.underlyingStream
Modifier and TypeMethodDescriptionAbstractDelegatingCacheStream.distinct()
<R1> CacheStream<R1>
AbstractDelegatingCacheStream.limit
(long maxSize) <R1> CacheStream<R1>
AbstractDelegatingCacheStream.parallel()
CacheSetMapper.parallelStream()
WriteableCacheCollectionMapper.parallelStream()
AbstractDelegatingCacheStream.sequential()
AbstractDelegatingCacheStream.skip
(long n) AbstractDelegatingCacheStream.sorted()
AbstractDelegatingCacheStream.sorted
(Comparator<? super R> comparator) CacheSetMapper.stream()
WriteableCacheCollectionMapper.stream()
AbstractDelegatingCacheStream.unordered()
filterKeySegments(IntSet)