|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.jobmanager.internal.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 |
setJobTaskProcessor(JobTaskProcessor jobTaskProcessor)
Sets the reference to the JobTaskProcessor service. |
void |
unsetJobTaskProcessor(JobTaskProcessor jobTaskProcessor)
Resets the reference to the JobTaskProcessor service to null if the given jobTaskProcessor instance is set. |
| 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 setJobTaskProcessor(JobTaskProcessor jobTaskProcessor)
jobTaskProcessor - the reference to the JobTaskProcessor service.public void unsetJobTaskProcessor(JobTaskProcessor jobTaskProcessor)
jobTaskProcessor - the reference to the current JobTaskProcessor service.
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||