Uses of Interface
com.tangosol.util.function.Remote.Predicate
Packages that use Remote.Predicate
Package
Description
Classes to allow submission of tasks to the grid for execution.
Various predicates used by the Executor Service.
Utility types leveraged by the Coherence Executor Service.
Contains various generic utilities.
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.Predicate in com.oracle.coherence.concurrent.executor
Fields in com.oracle.coherence.concurrent.executor declared as Remote.PredicateModifier and TypeFieldDescriptionprotected Remote.Predicate
<? super R> AbstractCollectable.m_completionPredicate
The optionalRemote.Predicate
to indicate if collection is completed.protected Remote.Predicate
<? super R> ClusteredTaskManager.m_completionPredicate
TheRemote.Predicate
to determine if theTask
is complete, based on a collected result.protected Remote.Predicate
<? super Iterator<T>> ConditionalCollector.m_predicate
TheRemote.Predicate
to determine when results can be collected.protected Remote.Predicate
<? super TaskExecutorService.ExecutorInfo> ExecutionStrategyBuilder.m_predicate
protected Remote.Predicate
<? super TaskExecutorService.ExecutorInfo> StandardExecutionStrategy.m_predicate
Methods in com.oracle.coherence.concurrent.executor that return Remote.PredicateModifier and TypeMethodDescriptionAbstractCollector.finishable()
ConditionalCollector.finishable()
Task.Collector.finishable()
ARemote.Predicate
to determine if a result container can be finished early avoiding further accumulation of results using the container.TaskCollectors.FirstOfCollector.finishable()
TaskCollectors.ListOfCollector.finishable()
TaskCollectors.SetOfCollector.finishable()
Methods in com.oracle.coherence.concurrent.executor with parameters of type Remote.PredicateModifier and TypeMethodDescriptionAbstractOrchestration.filter
(Remote.Predicate<? super TaskExecutorService.ExecutorInfo> predicate) ExecutionStrategyBuilder.filter
(Remote.Predicate<? super TaskExecutorService.ExecutorInfo> predicate) Limit theExecutionStrategy
to use only thoseExecutor
s that satisfy the specifiedRemote.Predicate
.NamedClusteredExecutorService.NamedOrchestration.filter
(Remote.Predicate<? super TaskExecutorService.ExecutorInfo> predicate) As this orchestration installs a filter as part of its required function, any user predicates will be and'd together.Task.Orchestration.filter
(Remote.Predicate<? super TaskExecutorService.ExecutorInfo> predicate) Limit theExecutor
s to only those that satisfy the specifiedRemote.Predicate
.protected <T,
A, R> Task.Coordinator <R> ClusteredExecutorService.submit
(Task<T> task, String sTaskId, ExecutionStrategy strategy, OptionsByType<Task.Option> optionsByType, Task.Properties properties, Task.Collector<? super T, A, R> collector, Remote.Predicate<? super R> completionPredicate, Task.CompletionRunnable<? super R> completionRunnable, Duration retainDuration, Iterator<Task.Subscriber<? super R>> subscribers) Submit aTask
for execution with the given taskId,ExecutionStrategy
,OptionsByType
, result collector, completionRemote.Predicate
, andTask.Subscriber
(s).AbstractCollectable.until
(Remote.Predicate<? super R> predicate) 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.Constructors in com.oracle.coherence.concurrent.executor with parameters of type Remote.PredicateModifierConstructorDescriptionClusteredTaskManager
(String sTaskId, Task<T> task, ExecutionStrategy executionStrategy, Task.Collector<? super T, A, R> collector, Remote.Predicate<? super R> completionPredicate, Task.CompletionRunnable<? super R> completionRunnable, Duration retainDuration, OptionsByType<Task.Option> optionsByType) Constructs aClusteredTaskManager
for the specifiedTask
.ConditionalCollector
(Remote.Predicate<? super Iterator<T>> predicate, Task.Collector<? super T, A, R> collector, R defaultResult) Constructs aConditionalCollector
.StandardExecutionStrategy
(int cDesiredExecutors, Remote.Predicate<? super TaskExecutorService.ExecutorInfo> predicate, boolean fConcurrentExecution) Constructs aStandardExecutionStrategy
. -
Uses of Remote.Predicate in com.oracle.coherence.concurrent.executor.function
Subinterfaces of Remote.Predicate in com.oracle.coherence.concurrent.executor.functionModifier and TypeInterfaceDescriptioninterface
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.PredicateModifier and TypeClassDescriptionstatic class
AnPredicates.AlwaysPredicate
returns true for any value provided to thePredicate.test(Object)
method.static class
ARemote.Predicate
to compare a value usingObject.equals(Object)
.static class
AnPredicates.IsValuePredicate
returns true when a providedResult.isValue()
.static class
ARemote.Predicate
that negates the result of anotherRemote.Predicate
.static class
AnPredicates.NeverPredicate
returns false for any value provided to thePredicate.test(Object)
method.static class
AnPredicates.NullValuePredicate
returnstrue
for any value provided to thePredicate.test(Object)
method that isnull
.static class
ARemote.Predicate
to determine if anTaskExecutorService.ExecutorInfo
has a specificTaskExecutorService.Registration.Option
.static class
ARemote.Predicate
for matching the name of aRole
.static class
AnPredicates.ThrowablePredicate
returns true when a providedResult.isThrowable()
.Methods in com.oracle.coherence.concurrent.executor.function that return Remote.PredicateModifier and TypeMethodDescriptionstatic <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
.Predicates.has
(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) Methods in com.oracle.coherence.concurrent.executor.function with parameters of type Remote.PredicateModifier and TypeMethodDescriptionstatic <T> Remote.BiPredicate
<ExecutionPlan, Map<String, T>> BiPredicates.all
(Remote.Predicate<? super T> predicate) Obtains aRemote.Predicate
that ensures all results satisfy a specifiedRemote.Predicate
.static <T> Remote.BiPredicate
<ExecutionPlan, Map<String, T>> BiPredicates.any
(Remote.Predicate<? super T> predicate) Obtains aRemote.Predicate
that ensures any result satisfies a specifiedRemote.Predicate
.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.PredicateModifierConstructorDescriptionAllResultsBiPredicate
(Remote.Predicate<? super T> predicate) Constructs anBiPredicates.AllResultsBiPredicate
.AnyResultBiPredicate
(Remote.Predicate<? super T> predicate) Constructs anBiPredicates.AnyResultBiPredicate
.NegatePredicate
(Remote.Predicate<T> predicate) Constructs aPredicates.NegatePredicate
. -
Uses of Remote.Predicate in com.oracle.coherence.concurrent.executor.util
Fields in com.oracle.coherence.concurrent.executor.util declared as Remote.PredicateModifier and TypeFieldDescriptionprotected final Remote.Predicate
<? super T> FilteringIterator.f_predicate
TheRemote.Predicate
that must be satisfied for an element to be returned by theIterator
.Fields in com.oracle.coherence.concurrent.executor.util with type parameters of type Remote.PredicateModifier and TypeFieldDescriptionprotected List
<Remote.Predicate<?>> CronPattern.m_listDayOfMonthMatchers
The Predicate list for the "day of month" field.protected List
<Remote.Predicate<?>> CronPattern.m_listDayOfWeekMatchers
The Predicate list for the "day of week" field.protected List
<Remote.Predicate<?>> CronPattern.m_listHourMatchers
The Predicate list for the "hour" field.protected List
<Remote.Predicate<?>> CronPattern.m_listMinuteMatchers
The Predicate list for the "minute" field.protected List
<Remote.Predicate<?>> CronPattern.m_listMonthMatchers
The Predicate list for the "month" field.Methods in com.oracle.coherence.concurrent.executor.util that return Remote.PredicateModifier and TypeMethodDescriptionprotected Remote.Predicate
<?> CronPattern.buildPredicate
(String sPattern, CronPattern.ValueParser parser) A Predicate utility builder.Methods in com.oracle.coherence.concurrent.executor.util with parameters of type Remote.PredicateModifier and TypeMethodDescriptionint
CronPattern.getNextDayOfMonth
(ZonedDateTime zdt, Remote.Predicate<?> predicate) Returns the next dayOfMonth to execute the task.int
CronPattern.getNextDayOfWeek
(int nDayOfWeek, Remote.Predicate<?> predicate) Returns the next dayOfWeek (0(Sunday) - 6(Saturday)) to execute the task.int
CronPattern.getNextHour
(int nHour, Remote.Predicate<?> predicate) Returns the next hour to execute the task.int
CronPattern.getNextMinute
(int nMinute, Remote.Predicate<?> predicate) Returns the next minute to execute the task.int
CronPattern.getNextMonth
(int nMonth, Remote.Predicate<?> predicate) Returns the next dayOfWeek to execute the task.Constructors in com.oracle.coherence.concurrent.executor.util with parameters of type Remote.PredicateModifierConstructorDescriptionFilteringIterable
(Iterable<T> iterable, Remote.Predicate<? super T> predicate) Constructs aFilteringIterable
.FilteringIterator
(Iterator<T> iterator, Remote.Predicate<? super T> predicate) Constructs aFilteringIterator
. -
Uses of Remote.Predicate in com.tangosol.util
Methods in com.tangosol.util with parameters of type Remote.PredicateModifier and TypeMethodDescriptionstatic <T> PredicateFilter
<T, ?> Filters.predicate
(Remote.Predicate<T> predicate) Return a PredicateFilter for a givenPredicate
.static <T,
E> PredicateFilter <T, E> 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.PredicateModifier and TypeMethodDescriptiondefault 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> 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.PredicateModifier and TypeMethodDescriptiondefault 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.PredicateModifier and TypeMethodDescriptiondefault 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.