Method GetRunningTasks
GetRunningTasks()
Get All the running tasks.
Declaration
public virtual ArrayList GetRunningTasks()
Returns
Type | Description |
---|---|
System.Collections.ArrayList | List of taskIds of running Map Reduce tasks. |
Examples
Cache _cache = NCache.InitializeCache("myCache");
product1 = new Product(3, "Tunnbr?d", "", 4, 2);
product2 = new Product(4, "Tunnbr?d", "", 5, 9);
_cache.Add("2202", product1);
_cache.Add("2203", product2);
// Implement Map Reduce Interferaces
MapReduceTask mapReduceTask = new MapReduceTask();
IList runningTasks = _cache.GetRunningTasks();