Uses of Interface
org.infinispan.LockedStream
Packages that use LockedStream
Package
Description
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
-
Uses of LockedStream in org.infinispan
Methods in org.infinispan that return LockedStreamModifier and TypeMethodDescriptionLockedStream.disableRehashAware()
Disables tracking of rehash events that could occur to the underlying cache.LockedStream.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.Returns a locked stream consisting of the elements of this stream that match the given predicate.default LockedStream<K,
V> LockedStream.filter
(org.infinispan.util.function.SerializablePredicate<? super org.infinispan.container.entries.CacheEntry<K, V>> predicate) Same asfilter(Predicate)
except that the Predicate must also implementSerializable
LockedStream.filterKeys
(Set<?> keys) Filters which entries are returned by only returning ones that map to the given key.LockedStream.filterKeySegments
(Set<Integer> segments) Deprecated.LockedStream.filterKeySegments
(IntSet segments) Filters which entries are returned by what segment they are present in.AdvancedCache.lockedStream()
Returns a sequential stream using this Cache as the source.LockedStream.parallelDistribution()
This would enable sending requests to all other remote nodes when a terminal operator is performed.LockedStream.segmentCompletionListener
(BaseCacheStream.SegmentCompletionListener listener) This method is not supported when using aLockedStream
LockedStream.sequentialDistribution()
This would disable sending requests to all other remote nodes compared to one at a time.Sets the timeout for the acquisition of the lock for each entry.
filterKeySegments(IntSet)