p2pMapReduce.entity
Class TaskRunner

java.lang.Object
  extended by p2pMapReduce.entity.TaskRunner
All Implemented Interfaces:
java.util.concurrent.Callable<Task.TaskStatus>
Direct Known Subclasses:
MapTaskRunner, ReduceTaskRunner

public abstract class TaskRunner
extends java.lang.Object
implements java.util.concurrent.Callable<Task.TaskStatus>

Base class for task runners. The class implements the Callable interface in order to provide the task completion status as the task execution result.


Constructor Summary
TaskRunner(SlaveTask task, NodeModuleIF nodeModule)
           
 
Method Summary
protected  void updateClassPath(java.lang.String jarsDirPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.concurrent.Callable
call
 

Constructor Detail

TaskRunner

public TaskRunner(SlaveTask task,
                  NodeModuleIF nodeModule)
Method Detail

updateClassPath

protected void updateClassPath(java.lang.String jarsDirPath)
                        throws java.lang.Exception
Throws:
java.lang.Exception