Uses of Interface
org.infinispan.util.function.SerializableSupplier
Package
Description
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
Cache stream processing.
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 SerializableSupplier in org.infinispan
Modifier and TypeMethodDescriptiondefault <R1> R1
CacheStream.collect
(SerializableSupplier<Collector<? super R, ?, R1>> supplier) Performs a mutable reduction operation on the elements of this stream using aCollector
that is lazily created from theSerializableSupplier
provided.default <R1> R1
CacheStream.collect
(SerializableSupplier<R1> supplier, SerializableBiConsumer<R1, ? super R> accumulator, SerializableBiConsumer<R1, R1> combiner) Same asCacheStream.collect(Supplier, BiConsumer, BiConsumer)
except that the various arguments must also implementSerializable
default <R> R
DoubleCacheStream.collect
(SerializableSupplier<R> supplier, SerializableObjDoubleConsumer<R> accumulator, SerializableBiConsumer<R, R> combiner) Same asDoubleStream.collect(Supplier, ObjDoubleConsumer, BiConsumer)
except that the arguments must also implementSerializable
default <R> R
IntCacheStream.collect
(SerializableSupplier<R> supplier, SerializableObjIntConsumer<R> accumulator, SerializableBiConsumer<R, R> combiner) Same asIntStream.collect(Supplier, ObjIntConsumer, BiConsumer)
except that the arguments must also implementSerializable
default <R> R
LongCacheStream.collect
(SerializableSupplier<R> supplier, SerializableObjLongConsumer<R> accumulator, SerializableBiConsumer<R, R> combiner) Same asLongStream.collect(Supplier, ObjLongConsumer, BiConsumer)
except that the arguments must also implement Serializable. -
Uses of SerializableSupplier in org.infinispan.stream
Modifier and TypeMethodDescriptionstatic <T,
R> Collector<T, ?, R> CacheCollectors.serializableCollector
(SerializableSupplier<Collector<T, ?, R>> supplier) Creates a collector that is serializable and will upon usage create a collector using the serializable supplier provided by the user. -
Uses of SerializableSupplier in org.infinispan.stream.impl
Modifier and TypeMethodDescription<R1> R1
IntermediateCacheStream.collect
(SerializableSupplier<Collector<? super R, ?, R1>> supplier) -
Uses of SerializableSupplier in org.infinispan.util
Modifier and TypeMethodDescriptionstatic <T,
R> SerializableSupplier<Collector<T, ?, R>> Casting.toSerialSupplierCollect
(SerializableSupplier supplier) Modifier and TypeMethodDescriptionstatic <T,
R> SerializableSupplier<Collector<T, ?, R>> Casting.toSerialSupplierCollect
(SerializableSupplier supplier)