public interface InitableTask
| Modifier and Type | Method and Description | 
|---|---|
| void | init(Config config,
    TaskContext context)Called by TaskRunner each time an implementing task is created. | 
void init(Config config, TaskContext context) throws java.lang.Exception
config - Allows accessing of fields in the configuration files that this StreamTask is specified in.context - Allows accessing of contextual data of this StreamTask.java.lang.Exception - Any exception types encountered during the execution of the processing task.