Constructor and Description |
---|
WebFetcherWorker() |
Modifier and Type | Method and Description |
---|---|
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 |
setFetcher(Fetcher fetcher)
DS service reference injection method.
|
void |
unsetFetcher(Fetcher fetcher)
DS service reference removal method.
|
public java.lang.String getName()
public void perform(TaskContext taskContext) throws java.lang.Exception
Worker
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!public void setFetcher(Fetcher fetcher)
public void unsetFetcher(Fetcher fetcher)