Uses of Interface
org.infinispan.CacheStream
Packages that use 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.
REST Server bootstrap and Netty bridge classes.
-
Uses of CacheStream in org.infinispan
Methods in org.infinispan that return CacheStreamModifier 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>Same asfilter(Predicate)except that the Predicate must also implementSerializableCacheStream.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(org.infinispan.util.function.SerializableFunction<? super R, ? extends Stream<? extends R1>> mapper) Same asflatMap(Function)except that the Function must also implementSerializableCacheStream.limit(long maxSize) <R1> CacheStream<R1>default <R1> CacheStream<R1>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(org.infinispan.util.function.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(org.infinispan.util.function.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(org.infinispan.util.function.SerializableLongFunction<? extends U> mapper) Same asLongCacheStream.mapToObj(LongFunction)except that the LongFunction must also implement Serializable.CacheStream.parallel()CacheStream.parallelDistribution()CacheCollection.parallelStream()default CacheStream<R>Same aspeek(Consumer)except that the Consumer must also implementSerializableCacheStream.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>Same assorted(Comparator)except that the Comparator must also implementSerializableCacheCollection.stream()Sets a given time to wait for a remote operation to respond by.CacheStream.unordered() -
Uses of CacheStream in org.infinispan.filter
Methods in org.infinispan.filter that return CacheStreamModifier and TypeMethodDescriptionstatic <K,V, C> CacheStream<org.infinispan.container.entries.CacheEntry<K, C>> CacheFilters.filterAndConvert(CacheStream<org.infinispan.container.entries.CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) static <K,V, C> CacheStream<K> CacheFilters.filterAndConvertToKey(CacheStream<org.infinispan.container.entries.CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) static <K,V, C> CacheStream<C> CacheFilters.filterAndConvertToValue(CacheStream<org.infinispan.container.entries.CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) Methods in org.infinispan.filter with parameters of type CacheStreamModifier and TypeMethodDescriptionstatic <K,V, C> CacheStream<org.infinispan.container.entries.CacheEntry<K, C>> CacheFilters.filterAndConvert(CacheStream<org.infinispan.container.entries.CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) static <K,V, C> CacheStream<K> CacheFilters.filterAndConvertToKey(CacheStream<org.infinispan.container.entries.CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) static <K,V, C> CacheStream<C> CacheFilters.filterAndConvertToValue(CacheStream<org.infinispan.container.entries.CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) -
Uses of CacheStream in org.infinispan.rest
Constructors in org.infinispan.rest with parameters of type CacheStreamModifierConstructorDescriptionCacheEntryInputStream(boolean keysAreJson, boolean valuesAreJson, CacheStream<? extends Map.Entry<?, ?>> stream, int batchSize, boolean includeMetadata) CacheKeyInputStream(CacheStream<?> stream, int batchSize)
filterKeySegments(IntSet)