Uses of Interface
com.tangosol.util.function.Remote.Runnable
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.Runnable in com.oracle.coherence.concurrent.executor
Modifier and TypeMethodDescriptionvoid
RemoteExecutor.execute
(Remote.Runnable command) Executes the given command at some time in the future.RemoteExecutor.schedule
(Remote.Runnable command, long lcDelay, TimeUnit unit) Submits a one-shot task that becomes enabled after the given delay.RemoteExecutor.scheduleAtFixedRate
(Remote.Runnable command, long lcInitialDelay, long lcPeriod, TimeUnit unit) Submits a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is, executions will commence afterinitialDelay
, theninitialDelay + period
, theninitialDelay + 2 * period
, and so on.RemoteExecutor.scheduleWithFixedDelay
(Remote.Runnable command, long lcInitialDelay, long lcDelay, TimeUnit unit) Submits a periodic action that becomes enabled first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next.Future
<?> RemoteExecutor.submit
(Remote.Runnable task) Submits a Runnable task for execution and returns a Future representing that task.<T> Future
<T> RemoteExecutor.submit
(Remote.Runnable task, T result) Submits a Runnable task for execution and returns a Future representing that task. -
Uses of Remote.Runnable in com.tangosol.util.function
Modifier and TypeMethodDescriptionstatic Remote.Runnable
Remote.runnable
(Remote.Runnable runnable) Capture serializable Runnable.Modifier and TypeMethodDescriptionstatic Remote.Runnable
Remote.runnable
(Remote.Runnable runnable) Capture serializable Runnable.