R
- Type of the task result returning from ComputeTask.reduce(List)
method.public interface ComputeTaskFuture<R> extends IgniteFuture<R>
Future
interface but has improved and easier to use exception
hierarchy.Modifier and Type | Method and Description |
---|---|
R |
get()
Synchronously waits for completion of the computation and
returns computation result.
|
R |
get(long timeout,
TimeUnit unit)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
ComputeTaskSession |
getTaskSession()
Gets task session of execution grid task.
|
cancel, chain, chainAsync, get, isCancelled, isDone, listen, listenAsync
R get()
get
in interface IgniteFuture<R>
ComputeTaskTimeoutException
- If task execution timed out.R get(long timeout, TimeUnit unit)
get
in interface IgniteFuture<R>
timeout
- The maximum time to wait.unit
- The time unit of the timeout
argument.ComputeTaskTimeoutException
- If task execution timed out.ComputeTaskSession getTaskSession()
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024