Uses of Interface
com.oracle.coherence.concurrent.executor.Task.Subscriber
-
Packages that use Task.Subscriber Package Description com.oracle.coherence.concurrent.executor Classes to allow submission of tasks to the grid for execution.com.oracle.coherence.concurrent.executor.subscribers com.oracle.coherence.concurrent.executor.subscribers.internal -
-
Uses of Task.Subscriber in com.oracle.coherence.concurrent.executor
Classes in com.oracle.coherence.concurrent.executor that implement Task.Subscriber Modifier and Type Class Description protected static classClusteredExecutorService.CESRunnableFuture<V>CESRunnableFutureis a holder for the Callable or Runnable which will be executed byClusteredExecutorService.execute(Remote.Runnable).Fields in com.oracle.coherence.concurrent.executor with type parameters of type Task.Subscriber Modifier and Type Field Description protected LinkedHashSet<Task.Subscriber<? super R>>AbstractCollectable. m_setSubscribersprotected Set<Task.Subscriber<? super T>>AbstractOrchestration. m_setSubscribersThe set ofTask.Subscribers for the orchestratedTask.protected Set<Task.Subscriber<? super T>>AbstractTaskCoordinator. m_setSubscribersTheTask.Subscribers to which items will be published.Methods in com.oracle.coherence.concurrent.executor with parameters of type Task.Subscriber Modifier and Type Method Description protected voidAbstractTaskCoordinator. closeSubscriber(Task.Subscriber<? super T> subscriber, boolean fRemove)A helper method to close aTask.Subscriberusing the callingThread.Task.Collectable<T,R>AbstractCollectable. subscribe(Task.Subscriber<? super R> subscriber)Task.SubscribedOrchestration<T>AbstractOrchestration. subscribe(Task.Subscriber<? super T> subscriber)voidAbstractTaskCoordinator. subscribe(Task.Subscriber<? super T> subscriber)Task.Collectable<T,R>Task.Collectable. subscribe(Task.Subscriber<? super R> subscriber)Registers the specifiedTask.Subscriberas part of the orchestration of theTask.voidTask.Coordinator. subscribe(Task.Subscriber<? super T> subscriber)Subscribes the specifiedTask.Subscriberto theTask.Coordinatorof aTaskto receive collected results.Task.SubscribedOrchestration<T>Task.SubscribedOrchestration. subscribe(Task.Subscriber<? super T> subscriber)Registers the specifiedTask.Subscriberas part of the orchestration of theTask.protected abstract voidAbstractTaskCoordinator. subscribeRetainedTask(Task.Subscriber<?> subscriber)Subscribes to a retained task (a task that has completed execution, but it still held in memory).protected voidClusteredTaskCoordinator. subscribeRetainedTask(Task.Subscriber subscriber)Method parameters in com.oracle.coherence.concurrent.executor with type arguments of type Task.Subscriber Modifier and Type Method Description 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, com.tangosol.util.function.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).Constructor parameters in com.oracle.coherence.concurrent.executor with type arguments of type Task.Subscriber Constructor Description ClusteredTaskCoordinator(com.tangosol.net.CacheService service, ClusteredTaskManager manager, ExecutorService executorService, Task.Properties properties, Iterator<Task.Subscriber<? super T>> subscribers)Constructs aClusteredTaskCoordinator. -
Uses of Task.Subscriber in com.oracle.coherence.concurrent.executor.subscribers
Classes in com.oracle.coherence.concurrent.executor.subscribers that implement Task.Subscriber Modifier and Type Class Description classRecordingSubscriber<T>ATask.Subscriberthat records iteration with aTask.Coordinator.classSystemOutSubscriber<T>ATask.Subscriberthat logs interactions to theSystem.out. -
Uses of Task.Subscriber in com.oracle.coherence.concurrent.executor.subscribers.internal
Classes in com.oracle.coherence.concurrent.executor.subscribers.internal that implement Task.Subscriber Modifier and Type Class Description classAnyFutureSubscriber<T>AFutureSubscriberwhich notifies a monitor object when the task completes or fails.classFutureSubscriber<T>ATask.Subscriberthat also implementsFuture.
-