Uses of Interface
com.oracle.coherence.concurrent.executor.Task.Collector
-
Packages that use Task.Collector Package Description com.oracle.coherence.concurrent.executor 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.Collector Modifier and Type Class Description classcom.oracle.coherence.concurrent.executor.AbstractCollector<T,R>An abstractTask.Collector.static classTaskCollectors.CountCollector<T>ATask.Collectorthat counts the number of results are present.static classTaskCollectors.FirstOfCollector<T>ATask.Collectorto collect any (the first provided) available result.static classTaskCollectors.LastOfCollector<T>ATask.Collectorthat collects and returns the last contributed result.static classTaskCollectors.ListOfCollector<T>ATask.Collectorthat collects and returns all contributed results that are values as aList.static classTaskCollectors.SetOfCollector<T>ATask.Collectorthat collects and returns all contributed results that are values as aSet.Methods in com.oracle.coherence.concurrent.executor that return Task.Collector Modifier and Type Method Description static <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.Collector Modifier and Type Method Description <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.
-