@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface ComputeTaskNoResultCache
ComputeTask
class
being executed. Use it when number of jobs within task grows too big, or jobs themselves
are too large to keep in memory throughout task execution. By default all results are cached and passed into
ComputeTask.result(ComputeJobResult, List<ComputeJobResult>)
method or ComputeTask.reduce(List<ComputeJobResult>)
method.
When this annotation is attached to a task class, then this list of job results will always be empty.
Note that if this annotation is attached to a task class, then job siblings list is not maintained
and always has size of 0
. This is done to make sure that in case if task emits large
number of jobs, list of jobs siblings does not grow. This only affects the following methods
on ComputeTaskSession
:
ComputeTaskSession.getJobSiblings()
ComputeTaskSession.getJobSibling(org.apache.ignite.lang.IgniteUuid)
ComputeTaskSession.refreshJobSiblings()
ComputeTask.result(ComputeJobResult, List<ComputeJobResult>)
method.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024