GridGain™ 2.1.0
Java API Specification

org.gridgain.grid
Annotation Type GridTaskNoResultCache


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
@Apache20LicenseCompatible
public @interface GridTaskNoResultCache

This annotation disables caching of task results when attached to GridTask class being executed. By default all results are cached and passed into GridTask.result(GridJobResult, List<GridJobResult>) method or GridTask.reduce(List<GridJobResult>) method. When this annotation is attached to a task class, then GridJobResult.getData() always will return null for all jobs cached in result list.

Use this annotation when job results are too large to hold in memory and can be discarded after being processed in GridTask.result(GridJobResult, List<GridJobResult>) method.



See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

Author:   2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.1.0

 


GridGain™ 2.1.0
Java API Specification

GridGain™ - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved.