public class SourceStreamTask extends StreamTask
isInitialState, jobWorker, processor, reader, running, stopped, writer| Constructor and Description |
|---|
SourceStreamTask(Processor sourceProcessor,
JobWorker jobWorker,
long lastCheckpointId)
SourceStreamTask for executing a
SourceOperator. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init()
Task initialization related work.
|
void |
run() |
boolean |
triggerCheckpoint(Long barrierId) |
clearExpiredCpState, clearExpiredQueueMsg, close, doCheckpoint, genOpCheckpointKey, isAlive, notifyCheckpointTimeout, recover, requestRollbackpublic SourceStreamTask(Processor sourceProcessor, JobWorker jobWorker, long lastCheckpointId)
SourceOperator. It is responsible for running the
corresponding source operator.protected void init()
StreamTaskinit in class StreamTaskpublic void run()
public boolean triggerCheckpoint(Long barrierId)
triggerCheckpoint in class StreamTaskCopyright © 2021. All rights reserved.