Uses of Interface
com.tangosol.util.function.Remote.Function
Package
Description
A small toolkit of classes that support lock-free thread-safe programming on single variables.
Contains classes to enable Repository-like access to Coherence data.
Contains classes related to partitioned cache implementation of Coherence JCache.
Contains packages and classes related to the Coherence REST API utilities.
Contains basic cluster interfaces and factories.
Contains classes providing various caching strategies.
Contains classes related to the Coherence Management Framework.
Contains various generic utilities.
Contains
ValueExtractor
and
ValueUpdater
related classes.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.Function in com.oracle.coherence.concurrent.atomic
Modifier and TypeMethodDescriptionprotected <R> CompletableFuture
<R> AsyncRemoteAtomicBoolean.invoke
(Remote.Function<AtomicBoolean, R> function) Apply specified function against the remote object and return the result.protected <R> CompletableFuture
<R> AsyncRemoteAtomicBoolean.invoke
(Remote.Function<AtomicBoolean, R> function, boolean fMutate) Apply specified function against the remote object and return the result.protected <R> CompletableFuture
<R> AsyncRemoteAtomicInteger.invoke
(Remote.Function<AtomicInteger, R> function) Apply specified function against the remote object and return the result.protected <R> CompletableFuture
<R> AsyncRemoteAtomicInteger.invoke
(Remote.Function<AtomicInteger, R> function, boolean fMutate) Apply specified function against the remote object and return the result.protected <R> CompletableFuture
<R> AsyncRemoteAtomicLong.invoke
(Remote.Function<AtomicLong, R> function) Apply specified function against the remote object and return the result.protected <R> CompletableFuture
<R> AsyncRemoteAtomicLong.invoke
(Remote.Function<AtomicLong, R> function, boolean fMutate) Apply specified function against the remote object and return the result.protected <R> CompletableFuture
<R> AsyncRemoteAtomicMarkableReference.invoke
(Remote.Function<AtomicMarkableReference<V>, R> function) Apply specified function against the remote object and return the result.protected <R> CompletableFuture
<R> AsyncRemoteAtomicMarkableReference.invoke
(Remote.Function<AtomicMarkableReference<V>, R> function, boolean fMutate) Apply specified function against the remote object and return the result.protected <R> CompletableFuture
<R> AsyncRemoteAtomicReference.invoke
(Remote.Function<AtomicReference<V>, R> function) Apply specified function against the remote object and return the result.protected <R> CompletableFuture
<R> AsyncRemoteAtomicReference.invoke
(Remote.Function<AtomicReference<V>, R> function, boolean fMutate) Apply specified function against the remote object and return the result.protected <R> CompletableFuture
<R> AsyncRemoteAtomicStampedReference.invoke
(Remote.Function<AtomicStampedReference<V>, R> function) Apply specified function against the remote object and return the result.protected <R> CompletableFuture
<R> AsyncRemoteAtomicStampedReference.invoke
(Remote.Function<AtomicStampedReference<V>, R> function, boolean fMutate) Apply specified function against the remote object and return the result.protected <R> R
RemoteAtomicBoolean.invoke
(Remote.Function<AtomicBoolean, R> function) Apply specified function against the remote object and return the result.protected <R> R
RemoteAtomicBoolean.invoke
(Remote.Function<AtomicBoolean, R> function, boolean fMutate) Apply specified function against the remote object and return the result.protected <R> R
RemoteAtomicInteger.invoke
(Remote.Function<AtomicInteger, R> function) Apply specified function against the remote object and return the result.protected <R> R
RemoteAtomicInteger.invoke
(Remote.Function<AtomicInteger, R> function, boolean fMutate) Apply specified function against the remote object and return the result.protected <R> R
RemoteAtomicLong.invoke
(Remote.Function<AtomicLong, R> function) Apply specified function against the remote object and return the result.protected <R> R
RemoteAtomicLong.invoke
(Remote.Function<AtomicLong, R> function, boolean fMutate) Apply specified function against the remote object and return the result.protected <R> R
RemoteAtomicMarkableReference.invoke
(Remote.Function<AtomicMarkableReference<V>, R> function) Apply specified function against the remote object and return the result.protected <R> R
RemoteAtomicMarkableReference.invoke
(Remote.Function<AtomicMarkableReference<V>, R> function, boolean fMutate) Apply specified function against the remote object and return the result.protected <R> R
RemoteAtomicReference.invoke
(Remote.Function<AtomicReference<V>, R> function) Apply specified function against the remote object and return the result.protected <R> R
RemoteAtomicReference.invoke
(Remote.Function<AtomicReference<V>, R> function, boolean fMutate) Apply specified function against the remote object and return the result.protected <R> R
RemoteAtomicStampedReference.invoke
(Remote.Function<AtomicStampedReference<V>, R> function) Apply specified function against the remote object and return the result.protected <R> R
RemoteAtomicStampedReference.invoke
(Remote.Function<AtomicStampedReference<V>, R> function, boolean fMutate) Apply specified function against the remote object and return the result. -
Uses of Remote.Function in com.oracle.coherence.repository
Modifier and TypeMethodDescription<R> CompletableFuture
<R> AbstractAsyncRepository.update
(ID id, Remote.Function<? super T, ? extends R> updater) Update an entity using specified updater function.<R> CompletableFuture
<R> AbstractAsyncRepository.update
(ID id, Remote.Function<? super T, ? extends R> updater, 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.<R> R
AbstractRepository.update
(ID id, Remote.Function<? super T, ? extends R> updater) Update an entity using specified updater function.<R> R
AbstractRepository.update
(ID id, Remote.Function<? super T, ? extends R> updater, 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.<R> CompletableFuture
<Map<ID, R>> AbstractAsyncRepository.updateAll
(Filter<?> filter, Remote.Function<? super T, ? extends R> updater) Update multiple entities using specified updater function.AbstractRepository.updateAll
(Filter<?> filter, Remote.Function<? super T, ? extends R> updater) Update multiple entities using specified updater function. -
Uses of Remote.Function in com.tangosol.coherence.jcache.partitionedcache
Modifier and TypeClassDescriptionstatic class
Get CacheStatistics from binEntry's context for JCache id. -
Uses of Remote.Function in com.tangosol.coherence.rest.util
Modifier and TypeClassDescriptionclass
PropertySet<T>
Represents a set of named properties and allows the extraction of those properties from a target object. -
Uses of Remote.Function in com.tangosol.net
Modifier and TypeMethodDescriptiondefault CompletableFuture
<V> AsyncNamedMap.computeIfAbsent
(K key, Remote.Function<? super K, ? extends V> mappingFunction) Compute the value using the given mapping function and enter it into this map (unlessnull
), if the specified key is not already associated with a value (or is mapped tonull
). -
Uses of Remote.Function in com.tangosol.net.cache
Modifier and TypeMethodDescriptionNearCache.computeIfAbsent
(K key, Remote.Function<? super K, ? extends V> mappingFunction) Compute the value using the given mapping function and enter it into this map (unlessnull
), if the specified key is not already associated with a value (or is mapped tonull
). -
Uses of Remote.Function in com.tangosol.net.management
Modifier and TypeClassDescriptionstatic class
The Remote.Function for theMBeanServerConnection
.getAttributes method.static class
The Remote.Function for theMBeanServerConnection
.invoke method.static class
The Remote.Function for theMBeanServerConnection
.setAttributes method.Modifier and TypeMethodDescription<R> R
MBeanServerProxy.execute
(Remote.Function<MBeanServer, R> function) Afunction
executed on the management node.<R> R
WrapperMBeanServerProxy.execute
(Remote.Function<MBeanServer, R> function) -
Uses of Remote.Function in com.tangosol.util
Modifier and TypeInterfaceDescriptioninterface
ValueExtractor<T,
E> ValueExtractor is used to both extract values (for example, for sorting or filtering) from an object, and to provide an identity for that extraction.Modifier and TypeClassDescriptionstatic class
A ValueExtractor that always results in the passed-in value.Modifier and TypeMethodDescriptiondefault V
InvocableMap.computeIfAbsent
(K key, Remote.Function<? super K, ? extends V> mappingFunction) Compute the value using the given mapping function and enter it into this map (unlessnull
), if the specified key is not already associated with a value (or is mapped tonull
).static <T> T
ExternalizableHelper.fromBinary
(Binary bin, Serializer serializer, Remote.Function<ReadBuffer.BufferInput, ReadBuffer.BufferInput> supplier) Read an object from a Binary object using the specified Serializer.static <T> T
ExternalizableHelper.fromBinary
(Binary bin, Serializer serializer, Remote.Function<ReadBuffer.BufferInput, ReadBuffer.BufferInput> supplier, Class<T> clazz) Read an object from a Binary object using the specified Serializer and expected class. -
Uses of Remote.Function in com.tangosol.util.extractor
Modifier and TypeInterfaceDescriptioninterface
IndexAwareExtractor<T,
E> IndexAwareExtractor is an extension to theValueExtractor
interface that supports the creation and destruction of anindex
.Modifier and TypeClassDescriptionclass
Abstract super class for ValueExtractor implementations that are based on an underlying array of ValueExtractor objects.class
AbstractExtractor<T,
E> Abstract base for ValueExtractor implementations.class
ChainedExtractor<T,
E> Composite ValueExtractor implementation based on an array of extractors.class
AValueExtractor
that extracts aFragment
from a nested property of the target object.class
ComparisonValueExtractor<T,
E extends Number> A synthetic ValueExtractor that returns a result of comparison between two values extracted from the same target.class
ConditionalExtractor<T,
E> An IndexAwareExtractor implementation that is only used to create aConditionalIndex
.class
DeserializationAccelerator is anIndexAwareExtractor
implementation that is used to create aForwardOnlyMapIndex
, which in turn is used for deserialization optimization.class
The EntryExtractor is a base abstract class for special purpose custom ValueExtractor implementations.class
AValueExtractor
that is used to extract aFragment
from an object.class
Trivial ValueExtractor implementation that does not actually extract anything from the passed value, but returns the value itself.class
KeyExtractor<T,
E> The KeyExtractor is a special purpose ValueExtractor implementation that serves as an indicator that a query should be run against the key objects rather than the values.class
Composite ValueExtractor implementation based on an array of extractors.class
PofExtractor<T,
E> POF-based ValueExtractor implementation.class
ReflectionExtractor<T,
E> Reflection-based ValueExtractor implementation.class
ScriptValueExtractor<T,
E> ScriptValueExtractor is anAbstractExtractor
that wraps a script written in one of the languages supported by Graal VM.class
UniversalExtractor<T,
E> Universal ValueExtractor implementation. -
Uses of Remote.Function in com.tangosol.util.function
Modifier and TypeInterfaceDescriptionstatic interface
Represents an operation on a single operand that produces a result of the same type as its operand.Modifier and TypeMethodDescriptiondefault <V> Remote.Function
<T, V> Remote.Function.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.default <V> Remote.Function
<V, R> Remote.Function.compose
(Remote.Function<? super V, ? extends T> before) Returns a composed function that first applies thebefore
function to its input, and then applies this function to the result.static <T,
R> Remote.Function <T, R> Remote.function
(Remote.Function<T, R> function) Capture serializable Function.static <T> Remote.Function
<T, T> Remote.Function.identity()
Returns a function that always returns its input argument.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.default <V> Remote.Function
<T, V> Remote.Function.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 extends Comparable<? super U>>
Remote.Comparator<T> Remote.Comparator.comparing
(Remote.Function<? super T, ? extends U> keyExtractor) Accepts a function that extracts aComparable
sort key from a typeT
, and returns aComparator<T>
that compares by that sort key.static <T,
U> Remote.Comparator <T> Remote.Comparator.comparing
(Remote.Function<? super T, ? extends U> keyExtractor, Remote.Comparator<? super U> keyComparator) Accepts a function that extracts a sort key from a typeT
, and returns aComparator<T>
that compares by that sort key using the specifiedRemote.Comparator
.default <V> Remote.Function
<V, R> Remote.Function.compose
(Remote.Function<? super V, ? extends T> before) Returns a composed function that first applies thebefore
function to its input, and then applies this function to the result.static <T,
R> Remote.Function <T, R> Remote.function
(Remote.Function<T, R> function) Capture serializable Function.default <U extends Comparable<? super U>>
Remote.Comparator<T> Remote.Comparator.thenComparing
(Remote.Function<? super T, ? extends U> keyExtractor) Returns a lexicographic-order comparator with a function that extracts aComparable
sort key.default <U> Remote.Comparator
<T> Remote.Comparator.thenComparing
(Remote.Function<? super T, ? extends U> keyExtractor, Remote.Comparator<? super U> keyComparator) Returns a lexicographic-order comparator with a function that extracts a key to be compared with the givenComparator
. -
Uses of Remote.Function in com.tangosol.util.stream
Modifier and TypeMethodDescriptionstatic <T,
A, R, RR>
RemoteCollector<T, A, RR> RemoteCollectors.collectingAndThen
(RemoteCollector<T, A, R> downstream, Remote.Function<R, RR> finisher) Adapts aCollector
to perform an additional finishing transformation.default <R> RemoteStream
<R> RemoteStream.flatMap
(Remote.Function<? super T, ? extends Stream<? extends R>> mapper) Returns a stream consisting of the results of replacing each element of this stream with the contents of a mapped stream produced by applying the provided mapping function to each element.default RemoteDoubleStream
RemoteStream.flatMapToDouble
(Remote.Function<? super T, ? extends DoubleStream> mapper) Returns anDoubleStream
consisting of the results of replacing each element of this stream with the contents of a mapped stream produced by applying the provided mapping function to each element.default RemoteIntStream
RemoteStream.flatMapToInt
(Remote.Function<? super T, ? extends IntStream> mapper) Returns anIntStream
consisting of the results of replacing each element of this stream with the contents of a mapped stream produced by applying the provided mapping function to each element.default RemoteLongStream
RemoteStream.flatMapToLong
(Remote.Function<? super T, ? extends LongStream> mapper) Returns anLongStream
consisting of the results of replacing each element of this stream with the contents of a mapped stream produced by applying the provided mapping function to each element.default <R> RemoteStream
<R> RemoteStream.map
(Remote.Function<? super T, ? extends R> mapper) Returns a stream consisting of the results of applying the given function to the elements of this stream.static <T,
U, A, R>
RemoteCollector<T, A, R> RemoteCollectors.mapping
(Remote.Function<? super T, ? extends U> mapper, RemoteCollector<? super U, A, R> downstream) Adapts aCollector
accepting elements of typeU
to one accepting elements of typeT
by applying a mapping function to each input element before accumulation.static <T,
A, R> RemoteCollector <T, A, R> RemoteCollector.of
(Remote.Supplier<A> supplier, Remote.BiConsumer<A, T> accumulator, Remote.BinaryOperator<A> combiner, Remote.Function<A, R> finisher, Collector.Characteristics... characteristics) Returns a newCollector
described by the givensupplier
,accumulator
,combiner
, andfinisher
functions.static <T,
U> RemoteCollector <T, ?, U> RemoteCollectors.reducing
(U identity, Remote.Function<? 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
.