Uses of Interface
com.tangosol.util.function.Remote.Predicate
-
Packages that use Remote.Predicate Package Description com.oracle.coherence.concurrent.executor Classes to allow submission of tasks to the grid for execution.com.oracle.coherence.concurrent.executor.function Various predicates used by the Executor Service.com.tangosol.util Contains various generic utilities.com.tangosol.util.function Contains Functional interfaces allowing remote execution of lambda expressions and method references.com.tangosol.util.stream Contains classes to support functional-style operations on remote streams of elements, such as map-reduce transformations on collections. -
-
Uses of Remote.Predicate in com.oracle.coherence.concurrent.executor
Methods in com.oracle.coherence.concurrent.executor that return Remote.Predicate Modifier and Type Method Description Remote.Predicate<A>
Task.Collector. finishable()
ARemote.Predicate
to determine if a result container can be finished early avoiding further accumulation of results using the container.Remote.Predicate<AtomicReference<T>>
TaskCollectors.FirstOfCollector. finishable()
Remote.Predicate<List<T>>
TaskCollectors.ListOfCollector. finishable()
Remote.Predicate<Set<T>>
TaskCollectors.SetOfCollector. finishable()
Methods in com.oracle.coherence.concurrent.executor with parameters of type Remote.Predicate Modifier and Type Method Description Task.Orchestration<T>
Task.Orchestration. filter(Remote.Predicate<? super com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo> predicate)
Limit theExecutor
s to only those that satisfy the specifiedRemote.Predicate
.Task.Completable<T,R>
Task.Collectable. until(Remote.Predicate<? super R> predicate)
Sets theRemote.Predicate
to determine when the collection of results will be considered completed, based on the collected result, after which no further results will be published toTask.Subscriber
s. -
Uses of Remote.Predicate in com.oracle.coherence.concurrent.executor.function
Subinterfaces of Remote.Predicate in com.oracle.coherence.concurrent.executor.function Modifier and Type Interface Description interface
PortablePredicate<T>
Represents a portableRemote.Predicate
(boolean-valued function) with a single argument; a convenience interface for an implementation with no properties that require serialization.Classes in com.oracle.coherence.concurrent.executor.function that implement Remote.Predicate Modifier and Type Class Description static class
Predicates.AlwaysPredicate
AnPredicates.AlwaysPredicate
returns true for any value provided to thePredicate.test(Object)
method.static class
Predicates.EqualToPredicate<T>
ARemote.Predicate
to compare a value usingObject.equals(Object)
.static class
Predicates.IsValuePredicate<T>
AnPredicates.IsValuePredicate
returns true when a providedResult.isValue()
.static class
Predicates.NegatePredicate<T>
ARemote.Predicate
that negates the result of anotherRemote.Predicate
.static class
Predicates.NeverPredicate
AnPredicates.NeverPredicate
returns false for any value provided to thePredicate.test(Object)
method.static class
Predicates.NullValuePredicate
AnPredicates.NullValuePredicate
returnstrue
for any value provided to thePredicate.test(Object)
method that isnull
.static class
Predicates.OptionPredicate
ARemote.Predicate
to determine if anTaskExecutorService.ExecutorInfo
has a specificTaskExecutorService.Registration.Option
.static class
Predicates.RolePredicate
ARemote.Predicate
for matching the name of aRole
.static class
Predicates.ThrowablePredicate<T>
AnPredicates.ThrowablePredicate
returns true when a providedResult.isThrowable()
.Methods in com.oracle.coherence.concurrent.executor.function that return Remote.Predicate Modifier and Type Method Description static <T> Remote.Predicate<T>
Predicates. always()
Obtains aRemote.Predicate
that always succeeds.static <T> Remote.Predicate<T>
Predicates. anything()
Obtains aRemote.Predicate
that always succeeds.static <T> Remote.Predicate<Result<T>>
Predicates. available()
Obtains aRemote.Predicate
that succeeds whenResult.isPresent()
()}.static <T> Remote.Predicate<T>
Predicates. equalTo(T value)
Obtains aRemote.Predicate
that usesObject.equals(Object)
to compare against a specified value.static <T> Remote.Predicate<T>
Predicates.AlwaysPredicate. get()
Obtains an instance of thePredicates.AlwaysPredicate
.static Remote.Predicate<com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo>
Predicates. has(com.oracle.coherence.concurrent.executor.TaskExecutorService.Registration.Option option)
Obtains aRemote.Predicate
forTaskExecutorService.ExecutorInfo
to determine if a specificTaskExecutorService.Registration.Option
is defined.static <T> Remote.Predicate<T>
Predicates. is(Remote.Predicate<T> predicate)
Returns the specifiedRemote.Predicate
.static <T> Remote.Predicate<T>
Predicates. is(T value)
Obtains aRemote.Predicate
that usesObject.equals(Object)
to compare against a specified value.static <T> Remote.Predicate<T>
Predicates. never()
Obtains aRemote.Predicate
that never succeeds.static <T> Remote.Predicate<T>
Predicates. not(Remote.Predicate<T> predicate)
Obtains aRemote.Predicate
that negates the result of anotherRemote.Predicate
.static <T> Remote.Predicate<T>
Predicates. notNullValue()
Obtains aRemote.Predicate
that succeeds when provided with a non-null
value.static <T> Remote.Predicate<T>
Predicates. nullValue()
Obtains aRemote.Predicate
that succeeds when provided with anull
value.static <T> Remote.Predicate<Result<T>>
Predicates. onException()
Obtains aRemote.Predicate
to ensure that theThrowable
is handled.static <T> Remote.Predicate<Result<T>>
Predicates. onException(Throwable throwable)
static Remote.Predicate<com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo>
Predicates. role(String pattern)
Methods in com.oracle.coherence.concurrent.executor.function with parameters of type Remote.Predicate Modifier and Type Method Description static <T> Remote.Predicate<T>
Predicates. is(Remote.Predicate<T> predicate)
Returns the specifiedRemote.Predicate
.static <T> Remote.Predicate<T>
Predicates. not(Remote.Predicate<T> predicate)
Obtains aRemote.Predicate
that negates the result of anotherRemote.Predicate
.Constructors in com.oracle.coherence.concurrent.executor.function with parameters of type Remote.Predicate Constructor Description NegatePredicate(Remote.Predicate<T> predicate)
Constructs aPredicates.NegatePredicate
. -
Uses of Remote.Predicate in com.tangosol.util
Methods in com.tangosol.util with parameters of type Remote.Predicate Modifier and Type Method Description static <T> Filter<T>
Filters. predicate(Remote.Predicate<T> predicate)
Return a PredicateFilter for a givenPredicate
.static <T,E>
Filter<T>Filters. predicate(ValueExtractor<T,? extends E> extractor, Remote.Predicate<? super E> predicate)
Return a PredicateFilter for a givenPredicate
. -
Uses of Remote.Predicate in com.tangosol.util.function
Methods in com.tangosol.util.function that return Remote.Predicate Modifier and Type Method Description default Remote.Predicate<T>
Remote.Predicate. and(Remote.Predicate<? super T> other)
Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.static <T> Remote.Predicate<T>
Remote.Predicate. isEqual(Object targetRef)
Returns a predicate that tests if two arguments are equal according toObjects.equals(Object, Object)
.default Remote.Predicate<T>
Remote.Predicate. negate()
Returns a predicate that represents the logical negation of this predicate.default Remote.Predicate<T>
Remote.Predicate. or(Remote.Predicate<? super T> other)
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.static <T> Remote.Predicate<T>
Remote. predicate(Remote.Predicate<T> predicate)
Capture serializable Predicate.Methods in com.tangosol.util.function with parameters of type Remote.Predicate Modifier and Type Method Description default Remote.Predicate<T>
Remote.Predicate. and(Remote.Predicate<? super T> other)
Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.default Remote.Predicate<T>
Remote.Predicate. or(Remote.Predicate<? super T> other)
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.static <T> Remote.Predicate<T>
Remote. predicate(Remote.Predicate<T> predicate)
Capture serializable Predicate. -
Uses of Remote.Predicate in com.tangosol.util.stream
Methods in com.tangosol.util.stream with parameters of type Remote.Predicate Modifier and Type Method Description default boolean
RemoteStream. allMatch(Remote.Predicate<? super T> predicate)
Returns whether all elements of this stream match the provided predicate.default boolean
RemoteStream. anyMatch(Remote.Predicate<? super T> predicate)
Returns whether any elements of this stream match the provided predicate.default RemoteStream<T>
RemoteStream. filter(Remote.Predicate<? super T> predicate)
Returns a stream consisting of the elements of this stream that match the given predicate.default boolean
RemoteStream. noneMatch(Remote.Predicate<? super T> predicate)
Returns whether no elements of this stream match the provided predicate.
-