Uses of Interface
org.infinispan.util.function.SerializableFunction
Package
Description
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
Functional API package
Cache manager API.
Query module internals.
-
Uses of SerializableFunction in org.infinispan
Modifier and TypeMethodDescriptiondefault V
AdvancedCache.computeIfAbsent
(K key, SerializableFunction<? super K, ? extends V> mappingFunction, Metadata metadata) default V
Cache.computeIfAbsent
(K key, SerializableFunction<? super K, ? extends V> mappingFunction) OverloadedCache.computeIfAbsent(Object, Function)
with InfinispanSerializableFunction
.default V
Cache.computeIfAbsent
(K key, SerializableFunction<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit) OverloadedBasicCache.computeIfAbsent(Object, Function, long, TimeUnit)
with InfinispanSerializableFunction
.default V
Cache.computeIfAbsent
(K key, SerializableFunction<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) OverloadedBasicCache.computeIfAbsent(Object, Function, long, TimeUnit, long, TimeUnit)
with InfinispanSerializableFunction
.default CompletableFuture<V>
AdvancedCache.computeIfAbsentAsync
(K key, SerializableFunction<? super K, ? extends V> mappingFunction, Metadata metadata) default CompletableFuture<V>
Cache.computeIfAbsentAsync
(K key, SerializableFunction<? super K, ? extends V> mappingFunction) OverloadedAsyncCache.computeIfAbsentAsync(Object, Function)
with InfinispanSerializableFunction
.default CompletableFuture<V>
Cache.computeIfAbsentAsync
(K key, SerializableFunction<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit) OverloadedAsyncCache.computeIfAbsentAsync(Object, Function, long, TimeUnit)
with InfinispanSerializableFunction
.default CompletableFuture<V>
Cache.computeIfAbsentAsync
(K key, SerializableFunction<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) OverloadedAsyncCache.computeIfAbsentAsync(Object, Function, long, TimeUnit, long, TimeUnit)
with InfinispanSerializableFunction
.default <R1> CacheStream<R1>
CacheStream.flatMap
(SerializableFunction<? super R, ? extends Stream<? extends R1>> mapper) Same asCacheStream.flatMap(Function)
except that the Function must also implementSerializable
default DoubleCacheStream
CacheStream.flatMapToDouble
(SerializableFunction<? super R, ? extends DoubleStream> mapper) Same asCacheStream.flatMapToDouble(Function)
except that the Function must also implementSerializable
default IntCacheStream
CacheStream.flatMapToInt
(SerializableFunction<? super R, ? extends IntStream> mapper) Same asCacheStream.flatMapToInt(Function)
except that the Function must also implementSerializable
default LongCacheStream
CacheStream.flatMapToLong
(SerializableFunction<? super R, ? extends LongStream> mapper) Same asCacheStream.flatMapToLong(Function)
except that the Function must also implementSerializable
default <R1> CacheStream<R1>
CacheStream.map
(SerializableFunction<? super R, ? extends R1> mapper) Same asCacheStream.map(Function)
except that the Function must also implementSerializable
-
Uses of SerializableFunction in org.infinispan.cache.impl
Modifier and TypeMethodDescriptionEncoderCache.computeIfAbsent
(K key, SerializableFunction<? super K, ? extends V> mappingFunction, Metadata metadata) EncoderCache.computeIfAbsentAsync
(K key, SerializableFunction<? super K, ? extends V> mappingFunction, Metadata metadata) -
Uses of SerializableFunction in org.infinispan.functional
Modifier and TypeMethodDescriptiondefault <R> CompletableFuture<R>
FunctionalMap.ReadOnlyMap.eval
(K key, SerializableFunction<EntryView.ReadEntryView<K, V>, R> f) Same asFunctionalMap.ReadOnlyMap.eval(Object, Function)
except that the function must also implementSerializable
default <R> CompletableFuture<R>
FunctionalMap.ReadWriteMap.eval
(K key, SerializableFunction<EntryView.ReadWriteEntryView<K, V>, R> f) Same asFunctionalMap.ReadWriteMap.eval(Object, Function)
except that the function must also implementSerializable
default <R> Traversable<R>
FunctionalMap.ReadWriteMap.evalAll
(SerializableFunction<EntryView.ReadWriteEntryView<K, V>, R> f) Same asFunctionalMap.ReadWriteMap.evalAll(Function)
except that the function must also implementSerializable
default <R> Traversable<R>
FunctionalMap.ReadOnlyMap.evalMany
(Set<? extends K> keys, SerializableFunction<EntryView.ReadEntryView<K, V>, R> f) Same asFunctionalMap.ReadOnlyMap.evalMany(Set, Function)
except that the function must also implementSerializable
default <R> Traversable<R>
FunctionalMap.ReadWriteMap.evalMany
(Set<? extends K> keys, SerializableFunction<EntryView.ReadWriteEntryView<K, V>, R> f) Same asFunctionalMap.ReadWriteMap.evalMany(Set, Function)
except that the function must also implementSerializable
-
Uses of SerializableFunction in org.infinispan.manager
Modifier and TypeMethodDescriptiondefault <V> CompletableFuture<Void>
ClusterExecutor.submitConsumer
(SerializableFunction<? super EmbeddedCacheManager, ? extends V> callable, TriConsumer<? super Address, ? super V, ? super Throwable> triConsumer) The same asClusterExecutor.submitConsumer(Function, TriConsumer)
, except the Callable must also implement Serializable. -
Uses of SerializableFunction in org.infinispan.query.impl
ModifierConstructorDescriptionQueryDefinition
(String queryString, org.infinispan.objectfilter.impl.syntax.parser.IckleParsingResult.StatementType statementType, SerializableFunction<AdvancedCache<?, ?>, org.infinispan.query.dsl.embedded.impl.QueryEngine<?>> queryEngineProvider, int originalMaxResults) -
Uses of SerializableFunction in org.infinispan.rest.distribution