Search Results for

Show / Hide Table of Contents

# Class ComputeTaskNoResultCacheAttribute

This attribute disables caching of task results when attached to IComputeTask<TArg, TJobRes, TRes> instance. 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 OnResult(IComputeJobResult<TJobRes>, IList<IComputeJobResult<TJobRes>>) and Reduce(IList<IComputeJobResult<TJobRes>>) methods. When this attribute is attached to a task class, then this list of job results will always be empty.

##### Inheritance

System.Object
ComputeTaskNoResultCacheAttribute

###### Namespace: Apache.Ignite.Core.Compute

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public sealed class ComputeTaskNoResultCacheAttribute : Attribute