public class SourceStreamTask extends StreamTask
isInitialState, jobWorker, processor, reader, running, stopped, writer| 构造器和说明 |
|---|
SourceStreamTask(Processor sourceProcessor,
JobWorker jobWorker,
long lastCheckpointId)
SourceStreamTask for executing a
SourceOperator. |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 StreamTaskpublic void run()
public boolean triggerCheckpoint(Long barrierId)
triggerCheckpoint 在类中 StreamTaskCopyright © 2021. All rights reserved.