Uses of Interface
com.tangosol.util.function.Remote.Supplier
Package
Description
Contains classes to enable Repository-like access to Coherence data.
Contains Functional interfaces allowing remote execution of lambda expressions and method references.
Contains concrete
InvocableMap.EntryProcessor
implementations.Contains classes to support functional-style operations on remote streams of elements,
such as map-reduce transformations on collections.
-
Uses of Remote.Supplier in com.oracle.coherence.repository
Modifier and TypeMethodDescription<K,
A, R, M extends Map<K, R>>
CompletableFuture<M> AbstractAsyncRepository.groupBy
(Filter<?> filter, ValueExtractor<? super T, ? extends K> extractor, Remote.Supplier<M> mapFactory, RemoteCollector<? super T, A, R> collector) Return the grouping of entities by the specified extractor.<K,
A, R, M extends Map<K, R>>
CompletableFuture<M> AbstractAsyncRepository.groupBy
(ValueExtractor<? super T, ? extends K> extractor, Remote.Supplier<M> mapFactory, RemoteCollector<? super T, A, R> collector) Return the grouping of entities by the specified extractor.<K,
A, R, M extends Map<K, R>>
MAbstractRepository.groupBy
(Filter<?> filter, ValueExtractor<? super T, ? extends K> extractor, Remote.Supplier<M> mapFactory, RemoteCollector<? super T, A, R> collector) Return the grouping of entities by the specified extractor.<K,
A, R, M extends Map<K, R>>
MAbstractRepository.groupBy
(ValueExtractor<? super T, ? extends K> extractor, Remote.Supplier<M> mapFactory, RemoteCollector<? super T, A, R> collector) Return the grouping of entities by the specified extractor. -
Uses of Remote.Supplier in com.tangosol.util.function
Modifier and TypeMethodDescriptionstatic <T> Remote.Supplier
<T> Remote.supplier
(Remote.Supplier<T> supplier) Capture serializable Supplier.Modifier and TypeMethodDescriptionstatic <T> Remote.Supplier
<T> Remote.supplier
(Remote.Supplier<T> supplier) Capture serializable Supplier. -
Uses of Remote.Supplier in com.tangosol.util.processor
Modifier and TypeFieldDescriptionprotected Remote.Supplier
<V> MethodInvocationProcessor.m_supplier
The supplier that should be used to create the entry value if this processor is invoked on an entry that is not present in the cache.Modifier and TypeMethodDescriptionMethodInvocationProcessor.getSupplier()
Returns the supplier that should be used when an entry is not present.ModifierConstructorDescriptionMethodInvocationProcessor
(Remote.Supplier<V> supplier, String sMethodName, boolean fMutator, Object... aoArgs) Construct MethodInvocationProcessor instance. -
Uses of Remote.Supplier in com.tangosol.util.stream
Modifier and TypeMethodDescriptiondefault <R> R
RemoteDoubleStream.collect
(Remote.Supplier<R> supplier, Remote.ObjDoubleConsumer<R> accumulator, Remote.BiConsumer<R, R> combiner) Performs a mutable reduction operation on the elements of this stream.default <R> R
RemoteIntStream.collect
(Remote.Supplier<R> supplier, Remote.ObjIntConsumer<R> accumulator, Remote.BiConsumer<R, R> combiner) Performs a mutable reduction operation on the elements of this stream.default <R> R
RemoteLongStream.collect
(Remote.Supplier<R> supplier, Remote.ObjLongConsumer<R> accumulator, Remote.BiConsumer<R, R> combiner) Performs a mutable reduction operation on the elements of this stream.default <R> R
RemoteStream.collect
(Remote.Supplier<R> supplier, Remote.BiConsumer<R, ? super T> accumulator, Remote.BiConsumer<R, R> combiner) Performs a mutable reduction operation on the elements of this stream.static <T,
U, K, D, A, M extends Map<K, D>>
RemoteCollector<T, ?, M> RemoteCollectors.groupingBy
(ValueExtractor<? super U, ? extends K> extractor, Remote.Supplier<M> mapFactory, RemoteCollector<? super T, A, D> downstream) Returns aCollector
implementing a cascaded "group by" operation on input elements of typeT
, grouping elements according to a classification function, and then performing a reduction operation on the values associated with a given key using the specified downstreamCollector
.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,
R> RemoteCollector <T, R, R> RemoteCollector.of
(Remote.Supplier<R> supplier, Remote.BiConsumer<R, T> accumulator, Remote.BinaryOperator<R> combiner, Collector.Characteristics... characteristics) Returns a newCollector
described by the givensupplier
,accumulator
, andcombiner
functions.static <T,
C extends Collection<T>>
RemoteCollector<T, ?, C> RemoteCollectors.toCollection
(Remote.Supplier<C> supplier) Returns aCollector
that accumulates the input elements into a newCollection
, in encounter order.static <T,
U1, U2, K, V, M extends Map<K, V>>
RemoteCollector<T, ?, M> RemoteCollectors.toMap
(ValueExtractor<? super U1, ? extends K> keyExtractor, ValueExtractor<? super U2, ? extends V> valueExtractor, Remote.BinaryOperator<V> mergeFunction, Remote.Supplier<M> mapSupplier) Returns aCollector
that accumulates elements into aMap
whose keys and values are the result of applying the provided mapping functions to the input elements.