Uses of Interface
org.openspaces.core.executor.DistributedTask
Packages that use DistributedTask
Package
Description
Top level core package holding main OpenSpaces API for Space (GigaSpace) and Map (GigaMap) and
the ability to create it.
A package including OpenSpaces support for Sync and Async remoting inspired by other Spring remoting
integrations.
-
Uses of DistributedTask in org.openspaces.core
Methods in org.openspaces.core with parameters of type DistributedTaskModifier and TypeMethodDescriptionExecutorBuilder.add(DistributedTask<T, R> task) Adds a task to be executed similarly toGigaSpace.execute(org.openspaces.core.executor.DistributedTask)ExecutorBuilder.add(DistributedTask<T, R> task, Object... routing) Adds a task to be executed similarly toGigaSpace.execute(org.openspaces.core.executor.DistributedTask, Object[])<T extends Serializable,R>
AsyncFuture<R>DefaultGigaSpace.distExecute(DistributedTask<T, R> task, AsyncFutureListener<R> listener) <T extends Serializable,R>
AsyncFuture<R>DefaultGigaSpace.execute(DistributedTask<T, R> task) <T extends Serializable,R>
AsyncFuture<R>DefaultGigaSpace.execute(DistributedTask<T, R> task, AsyncFutureListener<R> listener) <T extends Serializable,R>
AsyncFuture<R>DefaultGigaSpace.execute(DistributedTask<T, R> task, Object... routings) <T extends Serializable,R>
AsyncFuture<R>GigaSpace.execute(DistributedTask<T, R> task) Executes the task on all the primary space nodes within the cluster (broadcast).<T extends Serializable,R>
AsyncFuture<R>GigaSpace.execute(DistributedTask<T, R> task, Object... routing) Executes a task on all the nodes that correspond to the list of routing values. -
Uses of DistributedTask in org.openspaces.core.executor
Subinterfaces of DistributedTask in org.openspaces.core.executorMethods in org.openspaces.core.executor that return DistributedTaskModifier and TypeMethodDescriptionstatic <T extends Serializable,R>
DistributedTask<T,R> TaskExecutors.privilegedTask(DistributedTask<T, R> task) Constructs a new privileged task wrapping the actual task to execute.static <T extends Serializable,R>
DistributedTask<T,R> TaskExecutors.privilegedTask(DistributedTask<T, R> task, AsyncResultFilter<T> filter) Constructs a new privileged task wrapping the actual task and filter to execute.static <T extends Serializable,R>
DistributedTask<T,R> TaskExecutors.task(Runnable runnable, AsyncResultsReducer<T, R> reducer) Constructs a new runnable distributed task adapter with a separate reducer.static <T extends Serializable,R>
DistributedTask<T,R> TaskExecutors.task(Runnable runnable, AsyncResultsReducer<T, R> reducer, AsyncResultFilter<T> filter) Constructs a new runnable distributed task adapter with a separate reducer and filter.static <T extends Serializable,R>
DistributedTask<T,R> TaskExecutors.task(Runnable runnable, T result, AsyncResultsReducer<T, R> reducer) Constructs a new runnable distributed task adapter with a separate reducer.static <T extends Serializable,R>
DistributedTask<T,R> TaskExecutors.task(Runnable runnable, T result, AsyncResultsReducer<T, R> reducer, AsyncResultFilter<T> filter) Constructs a new runnable distributed task adapter with a separate reducer and filter.static <T extends Serializable,R>
DistributedTask<T,R> TaskExecutors.task(Callable<T> callable, AsyncResultsReducer<T, R> reducer) Constructs a new callable distributed task adapter with a separate reducer.static <T extends Serializable,R>
DistributedTask<T,R> TaskExecutors.task(Callable<T> callable, AsyncResultsReducer<T, R> reducer, AsyncResultFilter<T> filter) Constructs a new callable distributed task adapter with a separate reducer and filter.Methods in org.openspaces.core.executor with parameters of type DistributedTaskModifier and TypeMethodDescriptionstatic <T extends Serializable,R>
DistributedTask<T,R> TaskExecutors.privilegedTask(DistributedTask<T, R> task) Constructs a new privileged task wrapping the actual task to execute.static <T extends Serializable,R>
DistributedTask<T,R> TaskExecutors.privilegedTask(DistributedTask<T, R> task, AsyncResultFilter<T> filter) Constructs a new privileged task wrapping the actual task and filter to execute. -
Uses of DistributedTask in org.openspaces.core.executor.internal
Constructors in org.openspaces.core.executor.internal with parameters of type DistributedTask -
Uses of DistributedTask in org.openspaces.core.executor.juc
Classes in org.openspaces.core.executor.juc that implement DistributedTaskModifier and TypeClassDescriptionclassCallableDistributedTaskAdapter<T extends Serializable,R> An adapter allowing to execute aCallablein a distributed fashion.classRunnableDistributedTaskAdapter<T extends Serializable,R> An adapter allowing to execute aRunnablein a distributed fashion. -
Uses of DistributedTask in org.openspaces.core.executor.support
Classes in org.openspaces.core.executor.support that implement DistributedTaskModifier and TypeClassDescriptionclassAbstractDelegatingDistributedTask<T extends Serializable,R> A base class for delegating tasks that are also distributed tasksclassA sum distrubted task that accepts aTaskto delegate the actual execution to and implements theAvgTask.reduce(java.util.List)operation.classA max distrubuted task that accepts aTaskto delegate the actual execution to and implements theMaxTask.reduce(java.util.List)operation.classA min distrubuted task that accepts aTaskto delegate the actual execution to and implements theMinTask.reduce(java.util.List)operation.classPrivilegedDistributedTask<T extends Serializable,R> A delegating distrubuted task (with an optional filter) that runs under established access control settings.classSimpleDelegatingDistributedTask<T extends Serializable,R> A simple implementation of delegating distributed task that accepts the task to delegate to.classA sum distrubuted task that accepts aTaskto delegate the actual execution to and implements theSumTask.reduce(java.util.List)operation.Constructors in org.openspaces.core.executor.support with parameters of type DistributedTaskModifierConstructorDescriptionConstructs a new privileged task wrapping the actual task to execute.PrivilegedDistributedTask(DistributedTask<T, R> task, AsyncResultFilter<T> filter) Constructs a new privileged task wrapping the actual task and filter to execute.SimpleDelegatingDistributedTask(DistributedTask<T, R> task, AsyncResultFilter<T> filter) -
Uses of DistributedTask in org.openspaces.events.support
Classes in org.openspaces.events.support that implement DistributedTaskModifier and TypeClassDescriptionclassA task that registers a dynamically added event container in a distributed manner.classA task that unregisters (stops and disposes it) a dynamically added event container in a distributed manner. -
Uses of DistributedTask in org.openspaces.extensions
Methods in org.openspaces.extensions with parameters of type DistributedTaskModifier and TypeMethodDescriptionstatic <T extends Serializable,R>
CompletableFuture<R>AsyncExtension.execute(GigaSpace gigaSpace, DistributedTask<T, R> task) -
Uses of DistributedTask in org.openspaces.pu.container.jee.jetty.session
Classes in org.openspaces.pu.container.jee.jetty.session that implement DistributedTask -
Uses of DistributedTask in org.openspaces.remoting
Classes in org.openspaces.remoting that implement DistributedTaskModifier and TypeClassDescriptionclassExecutorRemotingTask<T extends Serializable>ATaskthat can be used to simulate remote invocation withSpaceRemotingServiceExporter.