org.jppf.node
Interface NodeExecutionManager

All Known Implementing Classes:
NodeExecutionManagerImpl

public interface NodeExecutionManager

Instances of this interface manage the execution of JPPF tasks by a node.

Author:
Laurent Cohen

Method Summary
 JPPFDistributedJob getCurrentJob()
          Get the job currently being executed.
 String getCurrentJobId()
          Get the id of the job currently being executed.
 List<JPPFTask> getCurrentTasks()
          Get the list of tasks currently being executed.
 

Method Detail

getCurrentJob

JPPFDistributedJob getCurrentJob()
Get the job currently being executed.

Returns:
a JPPFDistributedJob instance, or null if no job is being executed.

getCurrentTasks

List<JPPFTask> getCurrentTasks()
Get the list of tasks currently being executed.

Returns:
a list of JPPFTask instances, or null if the node is idle.

getCurrentJobId

String getCurrentJobId()
Get the id of the job currently being executed.

Returns:
the job id as a string, or null if no job is being executed.


Copyright © 2005-2010 JPPF Team.