public class SourceOp<T> extends BaseOp implements ISource, Closable
Modifier and Type | Field and Description |
---|---|
protected MultiEdgeOpAdapter |
multiEdgeOpAdapter |
protected SourceFunc<T> |
source |
Constructor and Description |
---|
SourceOp() |
SourceOp(SourceFunc<T> src,
BaseTSet originTSet,
java.util.Map<java.lang.String,java.lang.String> receivables) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close method for cleaning up the resources
|
void |
execute()
Execute without an incoming message
|
void |
prepare(Config cfg,
TaskContext ctx)
Prepare the task to be executed
|
add, getReceivableNames, gettSetContext
protected MultiEdgeOpAdapter multiEdgeOpAdapter
protected SourceFunc<T> source
public SourceOp()
public SourceOp(SourceFunc<T> src, BaseTSet originTSet, java.util.Map<java.lang.String,java.lang.String> receivables)
public void prepare(Config cfg, TaskContext ctx)
INode
public void execute()
ISource