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_completionPredicateThe optionalRemote.Predicateto indicate if collection is completed.protected Remote.Predicate<? super R> ClusteredTaskManager.m_completionPredicateTheRemote.Predicateto determine if theTaskis complete, based on a collected result.protected Remote.Predicate<? super Iterator<T>> ConditionalCollector.m_predicateTheRemote.Predicateto determine when results can be collected.protected Remote.Predicate<? super TaskExecutorService.ExecutorInfo> ExecutionStrategyBuilder.m_predicateprotected Remote.Predicate<? super TaskExecutorService.ExecutorInfo> StandardExecutionStrategy.m_predicateMethods in com.oracle.coherence.concurrent.executor that return Remote.PredicateModifier and TypeMethodDescriptionAbstractCollector.finishable()ConditionalCollector.finishable()Task.Collector.finishable()ARemote.Predicateto 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 theExecutionStrategyto use only thoseExecutors 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 theExecutors 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 aTaskfor 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.Predicateto determine when the collection of results will be considered completed, based on the collected result, after which no further results will be published toTask.Subscribers.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 aClusteredTaskManagerfor 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 TypeInterfaceDescriptioninterfaceRepresents 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 classAnPredicates.AlwaysPredicatereturns true for any value provided to thePredicate.test(Object)method.static classARemote.Predicateto compare a value usingObject.equals(Object).static classAnPredicates.IsValuePredicatereturns true when a providedResult.isValue().static classARemote.Predicatethat negates the result of anotherRemote.Predicate.static classAnPredicates.NeverPredicatereturns false for any value provided to thePredicate.test(Object)method.static classAnPredicates.NullValuePredicatereturnstruefor any value provided to thePredicate.test(Object)method that isnull.static classARemote.Predicateto determine if anTaskExecutorService.ExecutorInfohas a specificTaskExecutorService.Registration.Option.static classARemote.Predicatefor matching the name of aRole.static classAnPredicates.ThrowablePredicatereturns 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.Predicatethat always succeeds.static <T> Remote.Predicate<T> Predicates.anything()Obtains aRemote.Predicatethat always succeeds.static <T> Remote.Predicate<Result<T>> Predicates.available()Obtains aRemote.Predicatethat succeeds whenResult.isPresent()()}.static <T> Remote.Predicate<T> Predicates.equalTo(T value) Obtains aRemote.Predicatethat 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.PredicateforTaskExecutorService.ExecutorInfoto determine if a specificTaskExecutorService.Registration.Optionis 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.Predicatethat usesObject.equals(Object)to compare against a specified value.static <T> Remote.Predicate<T> Predicates.never()Obtains aRemote.Predicatethat never succeeds.static <T> Remote.Predicate<T> Predicates.not(Remote.Predicate<T> predicate) Obtains aRemote.Predicatethat negates the result of anotherRemote.Predicate.static <T> Remote.Predicate<T> Predicates.notNullValue()Obtains aRemote.Predicatethat succeeds when provided with a non-nullvalue.static <T> Remote.Predicate<T> Predicates.nullValue()Obtains aRemote.Predicatethat succeeds when provided with anullvalue.static <T> Remote.Predicate<Result<T>> Predicates.onException()Obtains aRemote.Predicateto ensure that theThrowableis 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.Predicatethat ensures all results satisfy a specifiedRemote.Predicate.static <T> Remote.BiPredicate<ExecutionPlan, Map<String, T>> BiPredicates.any(Remote.Predicate<? super T> predicate) Obtains aRemote.Predicatethat 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.Predicatethat 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_predicateTheRemote.Predicatethat 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_listDayOfMonthMatchersThe Predicate list for the "day of month" field.protected List<Remote.Predicate<?>> CronPattern.m_listDayOfWeekMatchersThe Predicate list for the "day of week" field.protected List<Remote.Predicate<?>> CronPattern.m_listHourMatchersThe Predicate list for the "hour" field.protected List<Remote.Predicate<?>> CronPattern.m_listMinuteMatchersThe Predicate list for the "minute" field.protected List<Remote.Predicate<?>> CronPattern.m_listMonthMatchersThe 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 TypeMethodDescriptionintCronPattern.getNextDayOfMonth(ZonedDateTime zdt, Remote.Predicate<?> predicate) Returns the next dayOfMonth to execute the task.intCronPattern.getNextDayOfWeek(int nDayOfWeek, Remote.Predicate<?> predicate) Returns the next dayOfWeek (0(Sunday) - 6(Saturday)) to execute the task.intCronPattern.getNextHour(int nHour, Remote.Predicate<?> predicate) Returns the next hour to execute the task.intCronPattern.getNextMinute(int nMinute, Remote.Predicate<?> predicate) Returns the next minute to execute the task.intCronPattern.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 booleanRemoteStream.allMatch(Remote.Predicate<? super T> predicate) Returns whether all elements of this stream match the provided predicate.default booleanRemoteStream.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 booleanRemoteStream.noneMatch(Remote.Predicate<? super T> predicate) Returns whether no elements of this stream match the provided predicate.