Package com.oracle.coherence.concurrent.executor.function
package com.oracle.coherence.concurrent.executor.function
Various predicates used by the Executor Service.
-
ClassDescriptionRepresents a portable
Remote.Predicate
(boolean-valued function) with a single argument; a convenience interface for an implementation with no properties that require serialization.Helper methods forRemote.Predicate
s.AnPredicates.AlwaysPredicate
returns true for any value provided to thePredicate.test(Object)
method.ARemote.Predicate
to compare a value usingObject.equals(Object)
.AnPredicates.IsValuePredicate
returns true when a providedResult.isValue()
.ARemote.Predicate
that negates the result of anotherRemote.Predicate
.AnPredicates.NeverPredicate
returns false for any value provided to thePredicate.test(Object)
method.AnPredicates.NullValuePredicate
returnstrue
for any value provided to thePredicate.test(Object)
method that isnull
.ARemote.Predicate
to determine if anTaskExecutorService.ExecutorInfo
has a specificTaskExecutorService.Registration.Option
.ARemote.Predicate
for matching the name of aRole
.AnPredicates.ThrowablePredicate
returns true when a providedResult.isThrowable()
.