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, duration, get, isCancelled, isDone, listen, startTimeR 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()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.11 Release Date : April 8 2016