Uses of Interface
org.infinispan.util.function.SerializableBiFunction
Package
Description
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
Functional API package
-
Uses of SerializableBiFunction in org.infinispan
Modifier and TypeMethodDescriptiondefault V
AdvancedCache.compute
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) default V
OverloadedCache.compute(Object, BiFunction)
with InfinispanSerializableBiFunction
.default V
Cache.compute
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) OverloadedBasicCache.compute(Object, BiFunction, long, TimeUnit)
with InfinispanSerializableBiFunction
.default V
Cache.compute
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) OverloadedBasicCache.compute(Object, BiFunction, long, TimeUnit, long, TimeUnit)
with InfinispanSerializableBiFunction
.default CompletableFuture<V>
AdvancedCache.computeAsync
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) default CompletableFuture<V>
Cache.computeAsync
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction) OverloadedAsyncCache.computeAsync(Object, BiFunction)
with InfinispanSerializableBiFunction
.default CompletableFuture<V>
Cache.computeAsync
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) OverloadedAsyncCache.computeAsync(Object, BiFunction, long, TimeUnit)
with InfinispanSerializableBiFunction
.default CompletableFuture<V>
Cache.computeAsync
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) OverloadedAsyncCache.computeAsync(Object, BiFunction, long, TimeUnit, long, TimeUnit)
with InfinispanSerializableBiFunction
.default V
AdvancedCache.computeIfPresent
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) default V
Cache.computeIfPresent
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction) OverloadedCache.computeIfPresent(Object, BiFunction)
with InfinispanSerializableBiFunction
The compiler will pick this overload for lambda parameters, making themSerializable
default CompletableFuture<V>
AdvancedCache.computeIfPresentAsync
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) default CompletableFuture<V>
Cache.computeIfPresentAsync
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction) OverloadedAsyncCache.computeIfPresentAsync(Object, BiFunction)
with InfinispanSerializableBiFunction
The compiler will pick this overload for lambda parameters, making themSerializable
LockedStream.invokeAll
(SerializableBiFunction<Cache<K, V>, ? super CacheEntry<K, V>, R> biFunction) Same asLockedStream.invokeAll(BiFunction)
except that the BiFunction must also implementSerializable
default V
AdvancedCache.merge
(K key, V value, SerializableBiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) default V
Cache.merge
(K key, V value, SerializableBiFunction<? super V, ? super V, ? extends V> remappingFunction) OverloadedCache.merge(Object, Object, BiFunction)
with InfinispanSerializableBiFunction
.default V
Cache.merge
(K key, V value, SerializableBiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) OverloadedBasicCache.merge(Object, Object, BiFunction, long, TimeUnit)
with InfinispanSerializableBiFunction
.default V
Cache.merge
(K key, V value, SerializableBiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) OverloadedBasicCache.merge(Object, Object, BiFunction, long, TimeUnit, long, TimeUnit)
with InfinispanSerializableBiFunction
.default CompletableFuture<V>
AdvancedCache.mergeAsync
(K key, V value, SerializableBiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) default CompletableFuture<V>
Cache.mergeAsync
(K key, V value, SerializableBiFunction<? super V, ? super V, ? extends V> remappingFunction) OverloadedAsyncCache.mergeAsync(Object, Object, BiFunction)
with InfinispanSerializableBiFunction
.default CompletableFuture<V>
Cache.mergeAsync
(K key, V value, SerializableBiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) OverloadedAsyncCache.mergeAsync(Object, Object, BiFunction, long, TimeUnit)
with InfinispanSerializableBiFunction
.default CompletableFuture<V>
Cache.mergeAsync
(K key, V value, SerializableBiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) OverloadedAsyncCache.mergeAsync(Object, Object, BiFunction, long, TimeUnit, long, TimeUnit)
with InfinispanSerializableBiFunction
.default <U> U
CacheStream.reduce
(U identity, SerializableBiFunction<U, ? super R, U> accumulator, SerializableBinaryOperator<U> combiner) Same asStream.reduce(Object, BiFunction, BinaryOperator)
except that the BinaryOperator must also implementSerializable
-
Uses of SerializableBiFunction in org.infinispan.cache.impl
Modifier and TypeMethodDescriptionEncoderCache.compute
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.computeAsync
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.computeIfPresent
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.computeIfPresentAsync
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.merge
(K key, V value, SerializableBiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.mergeAsync
(K key, V value, SerializableBiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) -
Uses of SerializableBiFunction in org.infinispan.functional
Modifier and TypeMethodDescriptiondefault <T,
R> CompletableFuture<R> FunctionalMap.ReadWriteMap.eval
(K key, T argument, SerializableBiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f) Same asFunctionalMap.ReadWriteMap.eval(Object, Object, BiFunction)
except that the function must also implementSerializable
default <T,
R> Traversable<R> FunctionalMap.ReadWriteMap.evalMany
(Map<? extends K, ? extends T> arguments, SerializableBiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f) Same asFunctionalMap.ReadWriteMap.evalMany(Map, BiFunction)
except that the function must also implementSerializable