Uses of Interface
org.infinispan.util.function.SerializableFunction
-
Packages that use SerializableFunction Package Description org.infinispan This is the core of Infinispan, a distributed, transactional, highly scalable data grid platform.org.infinispan.functional Functional API packageorg.infinispan.manager Cache manager API. -
-
Uses of SerializableFunction in org.infinispan
Methods in org.infinispan with parameters of type SerializableFunction Modifier and Type Method Description default 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, java.util.concurrent.TimeUnit lifespanUnit)
OverloadedBasicCache.computeIfAbsent(Object, Function, long, TimeUnit)
with InfinispanSerializableFunction
.default V
Cache. computeIfAbsent(K key, SerializableFunction<? super K,? extends V> mappingFunction, long lifespan, java.util.concurrent.TimeUnit lifespanUnit, long maxIdleTime, java.util.concurrent.TimeUnit maxIdleTimeUnit)
OverloadedBasicCache.computeIfAbsent(Object, Function, long, TimeUnit, long, TimeUnit)
with InfinispanSerializableFunction
.default java.util.concurrent.CompletableFuture<V>
AdvancedCache. computeIfAbsentAsync(K key, SerializableFunction<? super K,? extends V> mappingFunction, Metadata metadata)
default java.util.concurrent.CompletableFuture<V>
Cache. computeIfAbsentAsync(K key, SerializableFunction<? super K,? extends V> mappingFunction)
OverloadedAsyncCache.computeIfAbsentAsync(Object, Function)
with InfinispanSerializableFunction
.default java.util.concurrent.CompletableFuture<V>
Cache. computeIfAbsentAsync(K key, SerializableFunction<? super K,? extends V> mappingFunction, long lifespan, java.util.concurrent.TimeUnit lifespanUnit)
OverloadedAsyncCache.computeIfAbsentAsync(Object, Function, long, TimeUnit)
with InfinispanSerializableFunction
.default java.util.concurrent.CompletableFuture<V>
Cache. computeIfAbsentAsync(K key, SerializableFunction<? super K,? extends V> mappingFunction, long lifespan, java.util.concurrent.TimeUnit lifespanUnit, long maxIdleTime, java.util.concurrent.TimeUnit maxIdleTimeUnit)
OverloadedAsyncCache.computeIfAbsentAsync(Object, Function, long, TimeUnit, long, TimeUnit)
with InfinispanSerializableFunction
.default <R1> CacheStream<R1>
CacheStream. flatMap(SerializableFunction<? super R,? extends java.util.stream.Stream<? extends R1>> mapper)
Same asCacheStream.flatMap(Function)
except that the Function must also implementSerializable
default DoubleCacheStream
CacheStream. flatMapToDouble(SerializableFunction<? super R,? extends java.util.stream.DoubleStream> mapper)
Same asCacheStream.flatMapToDouble(Function)
except that the Function must also implementSerializable
default IntCacheStream
CacheStream. flatMapToInt(SerializableFunction<? super R,? extends java.util.stream.IntStream> mapper)
Same asCacheStream.flatMapToInt(Function)
except that the Function must also implementSerializable
default LongCacheStream
CacheStream. flatMapToLong(SerializableFunction<? super R,? extends java.util.stream.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.functional
Methods in org.infinispan.functional with parameters of type SerializableFunction Modifier and Type Method Description default <R> java.util.concurrent.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> java.util.concurrent.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(java.util.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(java.util.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
Methods in org.infinispan.manager with parameters of type SerializableFunction Modifier and Type Method Description default <V> java.util.concurrent.CompletableFuture<java.lang.Void>
ClusterExecutor. submitConsumer(SerializableFunction<? super EmbeddedCacheManager,? extends V> callable, TriConsumer<? super Address,? super V,? super java.lang.Throwable> triConsumer)
The same asClusterExecutor.submitConsumer(Function, TriConsumer)
, except the Callable must also implement Serializable.
-