Class DistributedDoubleCacheStream<Original>
- java.lang.Object
-
- org.infinispan.stream.impl.AbstractCacheStream<Original,Double,DoubleStream,DoubleCacheStream>
-
- org.infinispan.stream.impl.DistributedDoubleCacheStream<Original>
-
- Type Parameters:
Original- original stream type
- All Implemented Interfaces:
AutoCloseable,BaseStream<Double,DoubleStream>,DoubleStream,BaseCacheStream<Double,DoubleStream>,DoubleCacheStream
public class DistributedDoubleCacheStream<Original> extends AbstractCacheStream<Original,Double,DoubleStream,DoubleCacheStream> implements DoubleCacheStream
Implementation ofDoubleStreamthat utilizes a lazily evaluated distributed back end execution. Note this class is only able to be created usingCacheStream.mapToDouble(ToDoubleFunction)or similar methods from theCacheStreaminterface.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.infinispan.BaseCacheStream
BaseCacheStream.SegmentCompletionListener
-
Nested classes/interfaces inherited from interface java.util.stream.DoubleStream
DoubleStream.Builder
-
-
Field Summary
-
Fields inherited from class org.infinispan.stream.impl.AbstractCacheStream
closeRunnable, cpm, distributedBatchSize, dm, executor, includeLoader, intermediateOperations, invocationContext, iteratorOperation, keyPartitioner, keysToFilter, localAddress, parallel, parallelDistribution, partition, registry, rehashAware, segmentCompletionListener, segmentsToFilter, stateTransferLock, supplier, timeout, timeoutUnit, toKeyFunction
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDistributedDoubleCacheStream(AbstractCacheStream other)This constructor is to be used only when a user calls a map or flat map method changing to a DoubleStream from a CacheStream, Stream, IntStream, LongStream etc.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallMatch(DoublePredicate predicate)booleananyMatch(DoublePredicate predicate)OptionalDoubleaverage()CacheStream<Double>boxed()protected <R> DistributedCacheStream<Original,R>cacheStream()<R> Rcollect(Supplier<R> supplier, ObjDoubleConsumer<R> accumulator, BiConsumer<R,R> combiner)longcount()DoubleCacheStreamdisableRehashAware()Disables tracking of rehash events that could occur to the underlying cache.DoubleCacheStreamdistinct()DoubleCacheStreamdistributedBatchSize(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.DoubleCacheStreamfilter(DoublePredicate predicate)DoubleCacheStreamfilter(SerializableDoublePredicate predicate)Same asDoubleCacheStream.filter(DoublePredicate)except that the DoublePredicate must also implementSerializableDoubleCacheStreamfilterKeys(Set<?> keys)Filters which entries are returned by only returning ones that map to the given key.DoubleCacheStreamfilterKeySegments(Set<Integer> segments)Filters which entries are returned by what segment they are present in.DoubleCacheStreamfilterKeySegments(org.infinispan.commons.util.IntSet segments)Filters which entries are returned by what segment they are present in.OptionalDoublefindAny()OptionalDoublefindFirst()DoubleCacheStreamflatMap(DoubleFunction<? extends DoubleStream> mapper)DoubleCacheStreamflatMap(SerializableDoubleFunction<? extends DoubleStream> mapper)Same asDoubleCacheStream.flatMap(DoubleFunction)except that the DoubleFunction must also implementSerializablevoidforEach(DoubleConsumer action)<K,V>
voidforEach(ObjDoubleConsumer<Cache<K,V>> action)Same asDoubleStream.forEach(DoubleConsumer)except that it takes anObjDoubleConsumerthat provides access to the underlyingCachethat is backing this stream.voidforEach(SerializableDoubleConsumer action)Same asDoubleStream.forEach(DoubleConsumer)except that the DoubleConsumer must also implementSerializable<K,V>
voidforEach(SerializableObjDoubleConsumer<Cache<K,V>> action)Same asDoubleCacheStream.forEach(ObjDoubleConsumer)except that theBiConsumermust also implementSerializablevoidforEachOrdered(DoubleConsumer action)protected LoggetLog()protected DistributedIntCacheStream<Original>intCacheStream()PrimitiveIterator.OfDoubleiterator()DoubleCacheStreamlimit(long maxSize)protected DistributedLongCacheStream<Original>longCacheStream()DoubleCacheStreammap(DoubleUnaryOperator mapper)DoubleCacheStreammap(SerializableDoubleUnaryOperator mapper)Same asDoubleCacheStream.map(DoubleUnaryOperator)except that the DoubleUnaryOperator must also implementSerializableIntCacheStreammapToInt(DoubleToIntFunction mapper)IntCacheStreammapToInt(SerializableDoubleToIntFunction mapper)Same asDoubleCacheStream.mapToInt(DoubleToIntFunction)except that the DoubleToIntFunction must also implementSerializableLongCacheStreammapToLong(DoubleToLongFunction mapper)LongCacheStreammapToLong(SerializableDoubleToLongFunction mapper)Same asDoubleCacheStream.mapToLong(DoubleToLongFunction)except that the DoubleToLongFunction must also implementSerializable<U> CacheStream<U>mapToObj(DoubleFunction<? extends U> mapper)<U> CacheStream<U>mapToObj(SerializableDoubleFunction<? extends U> mapper)Same asDoubleCacheStream.mapToObj(DoubleFunction)except that the DoubleFunction must also implementSerializableOptionalDoublemax()OptionalDoublemin()booleannoneMatch(DoublePredicate predicate)DoubleCacheStreamparallelDistribution()This would enable sending requests to all other remote nodes when a terminal operator is performed.DoubleCacheStreampeek(DoubleConsumer action)DoubleCacheStreampeek(SerializableDoubleConsumer action)Same asDoubleCacheStream.flatMap(DoubleFunction)except that the DoubleFunction must also implementSerializabledoublereduce(double identity, DoubleBinaryOperator op)OptionalDoublereduce(DoubleBinaryOperator op)DoubleCacheStreamsegmentCompletionListener(BaseCacheStream.SegmentCompletionListener listener)Allows registration of a segment completion listener that is notified when a segment has completed processing.DoubleCacheStreamsequentialDistribution()This would disable sending requests to all other remote nodes compared to one at a time.DoubleCacheStreamskip(long n)DoubleCacheStreamsorted()Spliterator.OfDoublespliterator()doublesum()DoubleSummaryStatisticssummaryStatistics()DoubleCacheStreamtimeout(long timeout, TimeUnit unit)Sets a given time to wait for a remote operation to respond by.double[]toArray()protected DoubleCacheStreamunwrap()-
Methods inherited from class org.infinispan.stream.impl.AbstractCacheStream
addIntermediateOperation, addIntermediateOperation, addIntermediateOperationMap, close, composeWithExceptions, isParallel, isPrimaryOwner, onClose, parallel, sequential, unordered
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.stream.BaseStream
close, isParallel
-
Methods inherited from interface org.infinispan.DoubleCacheStream
allMatch, anyMatch, collect, noneMatch, onClose, parallel, reduce, reduce, sequential, unordered
-
Methods inherited from interface java.util.stream.DoubleStream
dropWhile, takeWhile
-
-
-
-
Constructor Detail
-
DistributedDoubleCacheStream
protected DistributedDoubleCacheStream(AbstractCacheStream other)
This constructor is to be used only when a user calls a map or flat map method changing to a DoubleStream from a CacheStream, Stream, IntStream, LongStream etc.- Parameters:
other- other instance ofAbstractCacheStreamto copy details from
-
-
Method Detail
-
getLog
protected Log getLog()
- Specified by:
getLogin classAbstractCacheStream<Original,Double,DoubleStream,DoubleCacheStream>
-
unwrap
protected DoubleCacheStream unwrap()
- Specified by:
unwrapin classAbstractCacheStream<Original,Double,DoubleStream,DoubleCacheStream>
-
filter
public DoubleCacheStream filter(DoublePredicate predicate)
Description copied from interface:DoubleCacheStream- Specified by:
filterin interfaceDoubleCacheStream- Specified by:
filterin interfaceDoubleStream- Returns:
- the new cache double stream
-
filter
public DoubleCacheStream filter(SerializableDoublePredicate predicate)
Description copied from interface:DoubleCacheStreamSame asDoubleCacheStream.filter(DoublePredicate)except that the DoublePredicate must also implementSerializableThe compiler will pick this overload for lambda parameters, making them
Serializable- Specified by:
filterin interfaceDoubleCacheStream- Parameters:
predicate- a non-interfering, stateless predicate to apply to each element to determine if it should be included- Returns:
- the new cache double stream
-
map
public DoubleCacheStream map(DoubleUnaryOperator mapper)
Description copied from interface:DoubleCacheStream- Specified by:
mapin interfaceDoubleCacheStream- Specified by:
mapin interfaceDoubleStream- Returns:
- the new cache double stream
-
map
public DoubleCacheStream map(SerializableDoubleUnaryOperator mapper)
Description copied from interface:DoubleCacheStreamSame asDoubleCacheStream.map(DoubleUnaryOperator)except that the DoubleUnaryOperator must also implementSerializableThe compiler will pick this overload for lambda parameters, making them
Serializable- Specified by:
mapin interfaceDoubleCacheStream- Parameters:
mapper- a non-interfering, stateless function to apply to each element- Returns:
- the new cache double stream
-
mapToObj
public <U> CacheStream<U> mapToObj(DoubleFunction<? extends U> mapper)
Description copied from interface:DoubleCacheStream- Specified by:
mapToObjin interfaceDoubleCacheStream- Specified by:
mapToObjin interfaceDoubleStream- Returns:
- the new cache stream
-
mapToObj
public <U> CacheStream<U> mapToObj(SerializableDoubleFunction<? extends U> mapper)
Description copied from interface:DoubleCacheStreamSame asDoubleCacheStream.mapToObj(DoubleFunction)except that the DoubleFunction must also implementSerializableThe compiler will pick this overload for lambda parameters, making them
Serializable- Specified by:
mapToObjin interfaceDoubleCacheStream- Type Parameters:
U- the element type of the new stream- Parameters:
mapper- a non-interfering, stateless function to apply to each element- Returns:
- the new cache stream
-
mapToInt
public IntCacheStream mapToInt(DoubleToIntFunction mapper)
Description copied from interface:DoubleCacheStream- Specified by:
mapToIntin interfaceDoubleCacheStream- Specified by:
mapToIntin interfaceDoubleStream- Returns:
- the new cache int stream
-
mapToInt
public IntCacheStream mapToInt(SerializableDoubleToIntFunction mapper)
Description copied from interface:DoubleCacheStreamSame asDoubleCacheStream.mapToInt(DoubleToIntFunction)except that the DoubleToIntFunction must also implementSerializableThe compiler will pick this overload for lambda parameters, making them
Serializable- Specified by:
mapToIntin interfaceDoubleCacheStream- Parameters:
mapper- a non-interfering, stateless function to apply to each element- Returns:
- the new cache int stream
-
mapToLong
public LongCacheStream mapToLong(DoubleToLongFunction mapper)
Description copied from interface:DoubleCacheStream- Specified by:
mapToLongin interfaceDoubleCacheStream- Specified by:
mapToLongin interfaceDoubleStream- Returns:
- the new cache long stream
-
mapToLong
public LongCacheStream mapToLong(SerializableDoubleToLongFunction mapper)
Description copied from interface:DoubleCacheStreamSame asDoubleCacheStream.mapToLong(DoubleToLongFunction)except that the DoubleToLongFunction must also implementSerializableThe compiler will pick this overload for lambda parameters, making them
Serializable- Specified by:
mapToLongin interfaceDoubleCacheStream- Parameters:
mapper- a non-interfering, stateless function to apply to each element- Returns:
- the new cache long stream
-
flatMap
public DoubleCacheStream flatMap(DoubleFunction<? extends DoubleStream> mapper)
Description copied from interface:DoubleCacheStream- Specified by:
flatMapin interfaceDoubleCacheStream- Specified by:
flatMapin interfaceDoubleStream- Returns:
- the new cache double stream
-
flatMap
public DoubleCacheStream flatMap(SerializableDoubleFunction<? extends DoubleStream> mapper)
Description copied from interface:DoubleCacheStreamSame asDoubleCacheStream.flatMap(DoubleFunction)except that the DoubleFunction must also implementSerializableThe compiler will pick this overload for lambda parameters, making them
Serializable- Specified by:
flatMapin interfaceDoubleCacheStream- Parameters:
mapper- a non-interfering, stateless function to apply to each element which produces aDoubleStreamof new values- Returns:
- the new cache double stream
-
distinct
public DoubleCacheStream distinct()
Description copied from interface:DoubleCacheStream- Specified by:
distinctin interfaceDoubleCacheStream- Specified by:
distinctin interfaceDoubleStream- Returns:
- the new cache double stream
-
sorted
public DoubleCacheStream sorted()
Description copied from interface:DoubleCacheStream- Specified by:
sortedin interfaceDoubleCacheStream- Specified by:
sortedin interfaceDoubleStream- Returns:
- the new cache double stream
-
peek
public DoubleCacheStream peek(DoubleConsumer action)
Description copied from interface:DoubleCacheStream- Specified by:
peekin interfaceDoubleCacheStream- Specified by:
peekin interfaceDoubleStream- Returns:
- the new cache double stream
-
peek
public DoubleCacheStream peek(SerializableDoubleConsumer action)
Description copied from interface:DoubleCacheStreamSame asDoubleCacheStream.flatMap(DoubleFunction)except that the DoubleFunction must also implementSerializableThe compiler will pick this overload for lambda parameters, making them
Serializable- Specified by:
peekin interfaceDoubleCacheStream- Parameters:
action- a non-interfering action to perform on the elements as they are consumed from the stream- Returns:
- the new cache double stream
-
limit
public DoubleCacheStream limit(long maxSize)
Description copied from interface:DoubleCacheStream- Specified by:
limitin interfaceDoubleCacheStream- Specified by:
limitin interfaceDoubleStream- Returns:
- the new cache double stream
-
skip
public DoubleCacheStream skip(long n)
Description copied from interface:DoubleCacheStream- Specified by:
skipin interfaceDoubleCacheStream- Specified by:
skipin interfaceDoubleStream- Returns:
- the new cache double stream
-
boxed
public CacheStream<Double> boxed()
Description copied from interface:DoubleCacheStream- Specified by:
boxedin interfaceDoubleCacheStream- Specified by:
boxedin interfaceDoubleStream- Returns:
- the new cache stream containing doubles
-
forEach
public void forEach(DoubleConsumer action)
- Specified by:
forEachin interfaceDoubleStream
-
forEach
public void forEach(SerializableDoubleConsumer action)
Description copied from interface:DoubleCacheStreamSame asDoubleStream.forEach(DoubleConsumer)except that the DoubleConsumer must also implementSerializableThe compiler will pick this overload for lambda parameters, making them
Serializable- Specified by:
forEachin interfaceDoubleCacheStream- Parameters:
action- a non-interfering action to perform on the elements
-
forEach
public <K,V> void forEach(ObjDoubleConsumer<Cache<K,V>> action)
Description copied from interface:DoubleCacheStreamSame asDoubleStream.forEach(DoubleConsumer)except that it takes anObjDoubleConsumerthat provides access to the underlyingCachethat is backing this stream.Note that the
CacheAwareinterface is not supported for injection using this method as the cache is provided in the consumer directly.- Specified by:
forEachin interfaceDoubleCacheStream- Type Parameters:
K- key type of the cacheV- value type of the cache- Parameters:
action- consumer to be ran for each element in the stream
-
forEach
public <K,V> void forEach(SerializableObjDoubleConsumer<Cache<K,V>> action)
Description copied from interface:DoubleCacheStreamSame asDoubleCacheStream.forEach(ObjDoubleConsumer)except that theBiConsumermust also implementSerializable- Specified by:
forEachin interfaceDoubleCacheStream- Type Parameters:
K- key type of the cacheV- value type of the cache- Parameters:
action- consumer to be ran for each element in the stream
-
forEachOrdered
public void forEachOrdered(DoubleConsumer action)
- Specified by:
forEachOrderedin interfaceDoubleStream
-
toArray
public double[] toArray()
- Specified by:
toArrayin interfaceDoubleStream
-
reduce
public double reduce(double identity, DoubleBinaryOperator op)- Specified by:
reducein interfaceDoubleStream
-
reduce
public OptionalDouble reduce(DoubleBinaryOperator op)
- Specified by:
reducein interfaceDoubleStream
-
collect
public <R> R collect(Supplier<R> supplier, ObjDoubleConsumer<R> accumulator, BiConsumer<R,R> combiner)
- Specified by:
collectin interfaceDoubleStream
-
sum
public double sum()
- Specified by:
sumin interfaceDoubleStream
-
min
public OptionalDouble min()
- Specified by:
minin interfaceDoubleStream
-
max
public OptionalDouble max()
- Specified by:
maxin interfaceDoubleStream
-
average
public OptionalDouble average()
- Specified by:
averagein interfaceDoubleStream
-
summaryStatistics
public DoubleSummaryStatistics summaryStatistics()
- Specified by:
summaryStatisticsin interfaceDoubleStream
-
anyMatch
public boolean anyMatch(DoublePredicate predicate)
- Specified by:
anyMatchin interfaceDoubleStream
-
allMatch
public boolean allMatch(DoublePredicate predicate)
- Specified by:
allMatchin interfaceDoubleStream
-
noneMatch
public boolean noneMatch(DoublePredicate predicate)
- Specified by:
noneMatchin interfaceDoubleStream
-
findFirst
public OptionalDouble findFirst()
- Specified by:
findFirstin interfaceDoubleStream
-
findAny
public OptionalDouble findAny()
- Specified by:
findAnyin interfaceDoubleStream
-
iterator
public PrimitiveIterator.OfDouble iterator()
- Specified by:
iteratorin interfaceBaseStream<Double,DoubleStream>- Specified by:
iteratorin interfaceDoubleStream
-
spliterator
public Spliterator.OfDouble spliterator()
- Specified by:
spliteratorin interfaceBaseStream<Double,DoubleStream>- Specified by:
spliteratorin interfaceDoubleStream
-
count
public long count()
- Specified by:
countin interfaceDoubleStream
-
sequentialDistribution
public DoubleCacheStream sequentialDistribution()
Description copied from interface:DoubleCacheStreamThis would disable sending requests to all other remote nodes compared to one at a time. This can reduce memory pressure on the originator node at the cost of performance.Parallel distribution is enabled by default except for
CacheStream.iterator()andCacheStream.spliterator()- Specified by:
sequentialDistributionin interfaceBaseCacheStream<Double,DoubleStream>- Specified by:
sequentialDistributionin interfaceDoubleCacheStream- Returns:
- a stream with parallel distribution disabled.
-
parallelDistribution
public DoubleCacheStream parallelDistribution()
Description copied from interface:BaseCacheStreamThis would enable sending requests to all other remote nodes when a terminal operator is performed. This requires additional overhead as it must process results concurrently from various nodes, but should perform faster in the majority of cases.Parallel distribution is enabled by default except for
CacheStream.iterator()andCacheStream.spliterator()- Specified by:
parallelDistributionin interfaceBaseCacheStream<Double,DoubleStream>- Specified by:
parallelDistributionin interfaceDoubleCacheStream- Returns:
- a stream with parallel distribution enabled.
-
filterKeySegments
public DoubleCacheStream filterKeySegments(Set<Integer> segments)
Description copied from interface:DoubleCacheStreamFilters which entries are returned by what segment they are present in. This method can be substantially more efficient than using a regularCacheStream.filter(Predicate)method as this can control what nodes are asked for data and what entries are read from the underlying CacheStore if present.- Specified by:
filterKeySegmentsin interfaceBaseCacheStream<Double,DoubleStream>- Specified by:
filterKeySegmentsin interfaceDoubleCacheStream- Parameters:
segments- The segments to use for this stream operation. Any segments not in this set will be ignored.- Returns:
- a stream with the segments filtered.
-
filterKeySegments
public DoubleCacheStream filterKeySegments(org.infinispan.commons.util.IntSet segments)
Description copied from interface:BaseCacheStreamFilters which entries are returned by what segment they are present in. This method can be substantially more efficient than using a regularCacheStream.filter(Predicate)method as this can control what nodes are asked for data and what entries are read from the underlying CacheStore if present.- Specified by:
filterKeySegmentsin interfaceBaseCacheStream<Double,DoubleStream>- Parameters:
segments- The segments to use for this stream operation. Any segments not in this set will be ignored.- Returns:
- a stream with the segments filtered.
-
filterKeys
public DoubleCacheStream filterKeys(Set<?> keys)
Description copied from interface:DoubleCacheStreamFilters which entries are returned by only returning ones that map to the given key. This method will be faster than a regularCacheStream.filter(Predicate)if the filter is holding references to the same keys.- Specified by:
filterKeysin interfaceBaseCacheStream<Double,DoubleStream>- Specified by:
filterKeysin interfaceDoubleCacheStream- Parameters:
keys- The keys that this stream will only operate on.- Returns:
- a stream with the keys filtered.
-
distributedBatchSize
public DoubleCacheStream distributedBatchSize(int batchSize)
Description copied from interface:DoubleCacheStreamControls how many keys are returned from a remote node when using a stream terminal operation with a distributed cache to back this stream. This value is ignored when terminal operators that don't track keys are used. Key tracking terminal operators areCacheStream.iterator(),CacheStream.spliterator(),CacheStream.forEach(Consumer). Please see those methods for additional information on how this value may affect them.This value may be used in the case of a a terminal operator that doesn't track keys if an intermediate operation is performed that requires bringing keys locally to do computations. Examples of such intermediate operations are
CacheStream.sorted(),CacheStream.sorted(Comparator),CacheStream.distinct(),CacheStream.limit(long),CacheStream.skip(long)This value is always ignored when this stream is backed by a cache that is not distributed as all values are already local.
- Specified by:
distributedBatchSizein interfaceBaseCacheStream<Double,DoubleStream>- Specified by:
distributedBatchSizein interfaceDoubleCacheStream- Parameters:
batchSize- The size of each batch. This defaults to the state transfer chunk size.- Returns:
- a stream with the batch size updated
-
segmentCompletionListener
public DoubleCacheStream segmentCompletionListener(BaseCacheStream.SegmentCompletionListener listener)
Description copied from interface:DoubleCacheStreamAllows registration of a segment completion listener that is notified when a segment has completed processing. If the terminal operator has a short circuit this listener may never be called.This method is designed for the sole purpose of use with the
CacheStream.iterator()to allow for a user to track completion of segments as they are returned from the iterator. Behavior of other methods is not specified. Please seeCacheStream.iterator()for more information.Multiple listeners may be registered upon multiple invocations of this method. The ordering of notified listeners is not specified.
This is only used if this stream did not invoke
BaseCacheStream.disableRehashAware()and has no flat map based operations. If this is done no segments will be notified.- Specified by:
segmentCompletionListenerin interfaceBaseCacheStream<Double,DoubleStream>- Specified by:
segmentCompletionListenerin interfaceDoubleCacheStream- Parameters:
listener- The listener that will be called back as segments are completed.- Returns:
- a stream with the listener registered.
-
disableRehashAware
public DoubleCacheStream disableRehashAware()
Description copied from interface:DoubleCacheStreamDisables tracking of rehash events that could occur to the underlying cache. If a rehash event occurs while a terminal operation is being performed it is possible for some values that are in the cache to not be found. Note that you will never have an entry duplicated when rehash awareness is disabled, only lost values.Most terminal operations will run faster with rehash awareness disabled even without a rehash occuring. However if a rehash occurs with this disabled be prepared to possibly receive only a subset of values.
- Specified by:
disableRehashAwarein interfaceBaseCacheStream<Double,DoubleStream>- Specified by:
disableRehashAwarein interfaceDoubleCacheStream- Returns:
- a stream with rehash awareness disabled.
-
timeout
public DoubleCacheStream timeout(long timeout, TimeUnit unit)
Description copied from interface:DoubleCacheStreamSets a given time to wait for a remote operation to respond by. This timeout does nothing if the terminal operation does not go remote.If a timeout does occur then a
TimeoutExceptionis thrown from the terminal operation invoking thread or on the next call to theIteratororSpliterator.Note that if a rehash occurs this timeout value is reset for the subsequent retry if rehash aware is enabled.
- Specified by:
timeoutin interfaceBaseCacheStream<Double,DoubleStream>- Specified by:
timeoutin interfaceDoubleCacheStream- Parameters:
timeout- the maximum time to waitunit- the time unit of the timeout argument- Returns:
- a stream with the timeout set
-
cacheStream
protected <R> DistributedCacheStream<Original,R> cacheStream()
-
intCacheStream
protected DistributedIntCacheStream<Original> intCacheStream()
-
longCacheStream
protected DistributedLongCacheStream<Original> longCacheStream()
-
-