|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.jobmanager.worker.FinishTaskWorker
public class FinishTaskWorker
Worker for asynchronous finishing of tasks.
| Constructor Summary | |
|---|---|
FinishTaskWorker()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
|
void |
perform(TaskContext taskContext)
Performs a computation on the data available in the TaskContext, such as a task for this worker, input and
(if configured) output slots. |
void |
setJobManager(JobManager jobManager)
Sets the reference to the JobManager service. |
void |
setTaskManager(TaskManager taskManager)
set task manager to use before activation. |
void |
unsetJobManager(JobManager jobManager)
Resets the reference to the JobManager service to null if the given jobManager instance is set. |
void |
unsetTaskManager(TaskManager taskManager)
remove task manager after deactivation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FinishTaskWorker()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface Worker
public void perform(TaskContext taskContext)
throws java.lang.Exception
TaskContext, such as a task for this worker, input and
(if configured) output slots. An implementor must make sure, calls to this method must be thread-safe!
perform in interface WorkertaskContext - the TaskContext information with which this operation can be performed.
java.lang.Exceptionpublic void setJobManager(JobManager jobManager)
jobManager - the reference to the JobManager service.public void unsetJobManager(JobManager jobManager)
jobManager - the reference to the current JobManager service.public void setTaskManager(TaskManager taskManager)
taskManager - the task managerpublic void unsetTaskManager(TaskManager taskManager)
taskManager - the task manager
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||