|
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.processing.worker.ProcessingWorker
org.eclipse.smila.processing.worker.PipelineProcessorWorker
public class PipelineProcessorWorker
A worker that is able to execute a pipeline.
| Field Summary | |
|---|---|
static int |
DEFAULT_PIPELINERUN_BULKSIZE
default number of parallel records to be processed in one go. |
static java.lang.String |
KEY_PIPELINE_NAME
key for the pipeline's name. |
static java.lang.String |
KEY_PIPELINERUN_BULKSIZE
key for the number of parallel records for one execution of the pipeline. |
static java.lang.String |
WORKER_NAME
worker's name. |
| Fields inherited from class org.eclipse.smila.processing.worker.ProcessingWorker |
|---|
_binStorageAvailable, _blackboardFactory, _log, INPUT_SLOT_NAME, KEY_KEEPATTACHMENTSINMEMORY, KEY_WRITEATTACHMENTSTOOUTPUT, OUTPUT_SLOT_NAME, s_noBinStorageAvailableLogged |
| Constructor Summary | |
|---|---|
PipelineProcessorWorker()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
|
boolean |
perform(AnyMap parameters,
RecordInput recordInput,
RecordOutput recordOutput,
TaskContext taskContext)
|
void |
setProcessor(WorkflowProcessor processor)
set workflow processor reference (used by DS). |
void |
unsetProcessor(WorkflowProcessor processor)
remove workflow processor reference (used by DS). |
| Methods inherited from class org.eclipse.smila.processing.worker.ProcessingWorker |
|---|
cleanupBlackboard, getBlackboard, perform, setBlackboardFactory, unsetBlackboardFactory, writeResultRecords |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String WORKER_NAME
public static final java.lang.String KEY_PIPELINE_NAME
public static final java.lang.String KEY_PIPELINERUN_BULKSIZE
public static final int DEFAULT_PIPELINERUN_BULKSIZE
| Constructor Detail |
|---|
public PipelineProcessorWorker()
| Method Detail |
|---|
public java.lang.String getName()
public boolean perform(AnyMap parameters,
RecordInput recordInput,
RecordOutput recordOutput,
TaskContext taskContext)
throws java.lang.Exception
perform in class ProcessingWorkerparameters - task parameters, converted to an AnyMaprecordInput - input bulkrecordOutput - output bulk, can be nulltaskContext - task context
java.lang.Exception - bulk could not be processedpublic void setProcessor(WorkflowProcessor processor)
public void unsetProcessor(WorkflowProcessor processor)
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||