Uses of Interface
com.tangosol.util.function.Remote.Callable
Package
Description
Classes to allow submission of tasks to the grid for execution.
Contains Functional interfaces allowing remote execution of lambda expressions and method references.
-
Uses of Remote.Callable in com.oracle.coherence.concurrent.executor
Modifier and TypeMethodDescription<V> ScheduledFuture
<V> RemoteExecutor.schedule
(Remote.Callable<V> callable, long lcDelay, TimeUnit unit) Submits a value-returning one-shot task that becomes enabled after the given delay.<T> Future
<T> RemoteExecutor.submit
(Remote.Callable<T> task) Submits a value-returning task for execution and returns a Future representing the pending results of the task.Modifier and TypeMethodDescriptionRemoteExecutor.invokeAll
(Collection<? extends Remote.Callable<T>> tasks) Executes the given tasks, returning a list of Futures holding their status and results when all complete.RemoteExecutor.invokeAll
(Collection<? extends Remote.Callable<T>> tasks, long lcTimeout, TimeUnit unit) Executes the given tasks, returning a list of Futures holding their status and results when all complete or the timeout expires, whichever happens first.<T> T
RemoteExecutor.invokeAny
(Collection<? extends Remote.Callable<T>> tasks) Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an exception), if any do.<T> T
RemoteExecutor.invokeAny
(Collection<? extends Remote.Callable<T>> tasks, long lcTimeout, TimeUnit unit) Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an exception), if any do before the given timeout elapses. -
Uses of Remote.Callable in com.tangosol.util.function
Modifier and TypeMethodDescriptionstatic <V> Remote.Callable
<V> Remote.callable
(Remote.Callable<V> callable) Capture serializable Callable.Modifier and TypeMethodDescriptionstatic <V> Remote.Callable
<V> Remote.callable
(Remote.Callable<V> callable) Capture serializable Callable.