Uses of Interface
com.tangosol.util.function.Remote.BiFunction
Package
Description
Contains classes to enable Repository-like access to Coherence data.
Contains basic cluster interfaces and factories.
Contains various generic utilities.
Contains Functional interfaces allowing remote execution of lambda expressions and method references.
Contains classes to support functional-style operations on remote streams of elements,
such as map-reduce transformations on collections.
-
Uses of Remote.BiFunction in com.oracle.coherence.repository
Modifier and TypeMethodDescription<U,
R> CompletableFuture <R> AbstractAsyncRepository.update
(ID id, Remote.BiFunction<? super T, ? super U, ? extends R> updater, U value) Update an entity using specified updater and the new value.<U,
R> CompletableFuture <R> AbstractAsyncRepository.update
(ID id, Remote.BiFunction<? super T, ? super U, ? extends R> updater, U value, EntityFactory<? super ID, ? extends T> factory) Update an entity using specified updater function, and optionalEntityFactory
that will be used to create entity instance if it doesn't already exist in the repository.<U,
R> R AbstractRepository.update
(ID id, Remote.BiFunction<? super T, ? super U, ? extends R> updater, U value) Update an entity using specified updater and the new value.<U,
R> R AbstractRepository.update
(ID id, Remote.BiFunction<? super T, ? super U, ? extends R> updater, U value, EntityFactory<? super ID, ? extends T> factory) Update an entity using specified updater function, and optionalEntityFactory
that will be used to create entity instance if it doesn't already exist in the repository.<U,
R> CompletableFuture <Map<ID, R>> AbstractAsyncRepository.updateAll
(Filter<?> filter, Remote.BiFunction<? super T, ? super U, ? extends R> updater, U value) Update multiple entities using specified updater and the new value.AbstractRepository.updateAll
(Filter<?> filter, Remote.BiFunction<? super T, ? super U, ? extends R> updater, U value) Update multiple entities using specified updater and the new value. -
Uses of Remote.BiFunction in com.tangosol.net
Modifier and TypeMethodDescriptiondefault CompletableFuture
<V> Compute a new mapping for the specified key and its current value.default CompletableFuture
<V> AsyncNamedMap.computeIfPresent
(K key, Remote.BiFunction<? super K, ? super V, ? extends V> remappingFunction) Compute a new mapping given the key and its current mapped value, if the value for the specified key is present and non-null.default CompletableFuture
<V> AsyncNamedMap.merge
(K key, V value, Remote.BiFunction<? super V, ? super V, ? extends V> remappingFunction) If the specified key is not already associated with a value or is associated with null, associates it with the given non-null value.default CompletableFuture
<Map<K, Void>> AsyncNamedMap.replaceAll
(Filter<?> filter, Remote.BiFunction<? super K, ? super V, ? extends V> function) Replace each entry's value with the result of invoking the given function on that entry until all entries selected by the specified filter have been processed or the function throws an exception.default CompletableFuture
<Map<K, Void>> AsyncNamedMap.replaceAll
(Remote.BiFunction<? super K, ? super V, ? extends V> function) Replace each entry's value with the result of invoking the given function on that entry until all entries have been processed or the function throws an exception.default CompletableFuture
<Map<K, Void>> AsyncNamedMap.replaceAll
(Collection<? extends K> collKeys, Remote.BiFunction<? super K, ? super V, ? extends V> function) Replace each entry's value with the result of invoking the given function on that entry until all entries for the specified key set have been processed or the function throws an exception. -
Uses of Remote.BiFunction in com.tangosol.util
Modifier and TypeMethodDescriptiondefault V
Compute a new mapping for the specified key and its current value.default V
InvocableMap.computeIfPresent
(K key, Remote.BiFunction<? super K, ? super V, ? extends V> remappingFunction) Compute a new mapping given the key and its current mapped value, if the value for the specified key is present and non-null.ConverterCollections.ConverterInvocableMap.merge
(TK key, TV value, Remote.BiFunction<? super TV, ? super TV, ? extends TV> remappingFunction) ConverterCollections.ConverterNamedCache.merge
(TK key, TV value, Remote.BiFunction<? super TV, ? super TV, ? extends TV> remappingFunction) default V
InvocableMap.merge
(K key, V value, Remote.BiFunction<? super V, ? super V, ? extends V> remappingFunction) If the specified key is not already associated with a value or is associated with null, associates it with the given non-null value.default void
InvocableMap.replaceAll
(Filter filter, Remote.BiFunction<? super K, ? super V, ? extends V> function) Replace each entry's value with the result of invoking the given function on that entry until all entries selected by the specified filter have been processed or the function throws an exception.default void
InvocableMap.replaceAll
(Remote.BiFunction<? super K, ? super V, ? extends V> function) Replace each entry's value with the result of invoking the given function on that entry until all entries have been processed or the function throws an exception.default void
InvocableMap.replaceAll
(Collection<? extends K> collKeys, Remote.BiFunction<? super K, ? super V, ? extends V> function) Replace each entry's value with the result of invoking the given function on that entry until all entries for the specified key set have been processed or the function throws an exception. -
Uses of Remote.BiFunction in com.tangosol.util.function
Modifier and TypeInterfaceDescriptionstatic interface
Represents an operation upon two operands of the same type, producing a result of the same type as the operands.Modifier and TypeMethodDescriptiondefault <V> Remote.BiFunction
<T, U, V> Remote.BiFunction.andThen
(Remote.Function<? super R, ? extends V> after) Returns a composed function that first applies this function to its input, and then applies theafter
function to the result.static <T,
U, R> Remote.BiFunction <T, U, R> Remote.biFunction
(Remote.BiFunction<T, U, R> biFunction) Capture serializable BiFunction.Modifier and TypeMethodDescriptionstatic <T,
U, R> Remote.BiFunction <T, U, R> Remote.biFunction
(Remote.BiFunction<T, U, R> biFunction) Capture serializable BiFunction. -
Uses of Remote.BiFunction in com.tangosol.util.stream
Modifier and TypeMethodDescriptiondefault <U> U
RemoteStream.reduce
(U identity, Remote.BiFunction<U, ? super T, U> accumulator, Remote.BinaryOperator<U> combiner) Performs a reduction on the elements of this stream, using the provided identity, accumulation and combining functions.static <T,
U> RemoteCollector <T, ?, U> RemoteCollectors.reducing
(U identity, Remote.BiFunction<? super U, ? super T, ? extends U> mapper, Remote.BinaryOperator<U> op) Returns aCollector
which performs a reduction of its input elements under a specified mapping function andBinaryOperator
.