Uses of Interface
com.oracle.coherence.concurrent.executor.Task.Collector
Packages that use Task.Collector
Package
Description
Classes to allow submission of tasks to the grid for execution.
-
Uses of Task.Collector in com.oracle.coherence.concurrent.executor
Classes in com.oracle.coherence.concurrent.executor that implement Task.CollectorModifier and TypeClassDescriptionclasscom.oracle.coherence.concurrent.executor.AbstractCollector<T,R> An abstractTask.Collector.static classATask.Collectorthat counts the number of results are present.static classATask.Collectorto collect any (the first provided) available result.static classATask.Collectorthat collects and returns the last contributed result.static classATask.Collectorthat collects and returns all contributed results that are values as aList.static classATask.Collectorthat collects and returns all contributed results that are values as aSet.Methods in com.oracle.coherence.concurrent.executor that return Task.CollectorModifier and TypeMethodDescriptionstatic <T> Task.Collector<? super T, ?, Integer> TaskCollectors.count()ATask.Collectorthat counts the number of non-null results that have been made.static <T> Task.Collector<T, ?, T> TaskCollectors.firstOf()ATask.Collectorthat will collect the first provided result.static <T> Task.Collector<T, ?, T> TaskCollectors.lastOf()ATask.Collectorthat returns the last added result, when all results have been provided.static <T> Task.Collector<T, ?, List<T>> TaskCollectors.listOf()ATask.Collectorthat returns theListof results that are values.static <T> Task.Collector<T, ?, Set<T>> TaskCollectors.setOf()ATask.Collectorthat returns theSetof results that are values.Methods in com.oracle.coherence.concurrent.executor with parameters of type Task.CollectorModifier and TypeMethodDescription<R> Task.Collectable<T, R> Task.Orchestration.collect(Task.Collector<? super T, ?, R> collector) Creates aTask.Collectablefor theTaskusing the specifiedTask.Collector, that will collect individual results fromTasks when they are executed with orchestratedExecutors.