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.Predicates.AnPredicates.AlwaysPredicatereturns true for any value provided to thePredicate.test(Object)method.ARemote.Predicateto compare a value usingObject.equals(Object).AnPredicates.IsValuePredicatereturns true when a providedResult.isValue().ARemote.Predicatethat negates the result of anotherRemote.Predicate.AnPredicates.NeverPredicatereturns false for any value provided to thePredicate.test(Object)method.AnPredicates.NullValuePredicatereturnstruefor any value provided to thePredicate.test(Object)method that isnull.ARemote.Predicateto determine if anTaskExecutorService.ExecutorInfohas a specificTaskExecutorService.Registration.Option.ARemote.Predicatefor matching the name of aRole.AnPredicates.ThrowablePredicatereturns true when a providedResult.isThrowable().