|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JobTaskProcessor
Job management component for handling tasks and workflow runs.
| Method Summary | |
|---|---|
java.util.List<Task> |
finishTask(Task currentTask)
Finishes a task and retrieves the following tasks. |
Task |
getInitialTask(java.lang.String workerName,
java.lang.String id)
Creates an initial task for input-workers. |
| Method Detail |
|---|
java.util.List<Task> finishTask(Task currentTask)
throws JobManagerException
currentTask - The finished task.
JobManagerException - error while trying to finish the task.
Task getInitialTask(java.lang.String workerName,
java.lang.String id)
throws JobManagerException
workerName - The name of the worker for which this task is requested.id - The id of the task-source (e.g. index name, job id, ...) for which the task is requested. The TaskProducer
and the worker requester of the tasks should have a common understanding of what this id is about.
JobManagerException - error while trying to generate initial task. The job has not the correct state or the worker is not an
startAction worker.
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||