/** * Executes this task and stores results in the provided results cache. The results can be * obtained once the execute method completes i.e., execute method is synchronous. * * This variant of execute method minimizes the possibility of the master JVM node exceeding * its allowed maximum heap, especially if objects that are results of the reduce phase have a * large memory footprint and/or multiple MapReduceTasks are executed concurrently on the master * task node. * * @param resultsCache * application provided results cache * @throws CacheException * * @since 7.0 */ public void execute(Cache<KOut, VOut> resultsCache) throws CacheException {...} /** * Executes this task and stores results in the provided results cache. The results can be * obtained once the execute method completes i.e., execute method is synchronous. * * This variant of execute method minimizes the possibility of the master JVM node exceeding its * allowed maximum heap, especially if objects that are results of the reduce phase have a large * memory footprint and/or multiple MapReduceTasks are executed concurrently on the master task * node. * * @param resultsCache * application provided results cache represented by its name * @throws CacheException * * @since 7.0 */ public void execute(String resultsCache) throws CacheException {...}