• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Event OnMapReduceComplete

Users can register a callback on the MapReduce task that is called when task execution is completed, failed or cancelled with a parameter response that encapsulates status of the task and result (if completed).

Assembly: Alachisoft.NCache.Runtime.dll
Syntax
event MapReduceCallback OnMapReduceComplete
Returns
Type Description
MapReduceCallback
Examples

Example registers a callback

ITrackableTask taskTracker = cache.ExecuteTask(prodAggregatorTask, new OrderKeyFilter());

taskTracker.OnMapReduceComplete += new MapReduceCallback(MapReduceCompleted);
Back to top Copyright © 2017 Alachisoft