类 SinkFlowLifeCycle<T,CommitInfoT extends Serializable,AggregatedCommitInfoT,StateT>
java.lang.Object
org.apache.seatunnel.engine.server.task.flow.AbstractFlowLifeCycle
org.apache.seatunnel.engine.server.task.flow.ActionFlowLifeCycle
org.apache.seatunnel.engine.server.task.flow.SinkFlowLifeCycle<T,CommitInfoT,AggregatedCommitInfoT,StateT>
- 所有已实现的接口:
org.apache.seatunnel.api.state.CheckpointListener,org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener,Stateful,FlowLifeCycle,OneInputFlowLifeCycle<org.apache.seatunnel.api.table.type.Record<?>>
public class SinkFlowLifeCycle<T,CommitInfoT extends Serializable,AggregatedCommitInfoT,StateT>
extends ActionFlowLifeCycle
implements OneInputFlowLifeCycle<org.apache.seatunnel.api.table.type.Record<?>>, org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener
-
字段概要
从类继承的字段 org.apache.seatunnel.engine.server.task.flow.ActionFlowLifeCycle
action从类继承的字段 org.apache.seatunnel.engine.server.task.flow.AbstractFlowLifeCycle
completableFuture, prepareClose, runningTask -
构造器概要
构造器构造器说明SinkFlowLifeCycle(org.apache.seatunnel.engine.core.dag.actions.SinkAction<T, StateT, CommitInfoT, AggregatedCommitInfoT> sinkAction, TaskLocation taskLocation, int indexID, SeaTunnelTask runningTask, TaskLocation committerTaskLocation, boolean containAggCommitter, org.apache.seatunnel.engine.common.utils.concurrent.CompletableFuture<Void> completableFuture, org.apache.seatunnel.api.common.metrics.MetricsContext metricsContext) -
方法概要
修饰符和类型方法说明voidclose()voidinit()voidnotifyCheckpointAborted(long checkpointId) voidnotifyCheckpointComplete(long checkpointId) voidopen()voidreceived(org.apache.seatunnel.api.table.type.Record<?> record) voidrestoreState(List<ActionSubtaskState> actionStateList) 从类继承的方法 org.apache.seatunnel.engine.server.task.flow.ActionFlowLifeCycle
getAction从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.apache.seatunnel.engine.server.task.flow.FlowLifeCycle
prepareClose从接口继承的方法 org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener
notifyCheckpointEnd
-
构造器详细资料
-
SinkFlowLifeCycle
public SinkFlowLifeCycle(org.apache.seatunnel.engine.core.dag.actions.SinkAction<T, StateT, CommitInfoT, AggregatedCommitInfoT> sinkAction, TaskLocation taskLocation, int indexID, SeaTunnelTask runningTask, TaskLocation committerTaskLocation, boolean containAggCommitter, org.apache.seatunnel.engine.common.utils.concurrent.CompletableFuture<Void> completableFuture, org.apache.seatunnel.api.common.metrics.MetricsContext metricsContext)
-
-
方法详细资料
-
init
- 指定者:
init在接口中FlowLifeCycle- 抛出:
Exception
-
open
- 指定者:
open在接口中FlowLifeCycle- 抛出:
Exception
-
close
- 指定者:
close在接口中FlowLifeCycle- 覆盖:
close在类中AbstractFlowLifeCycle- 抛出:
IOException
-
received
public void received(org.apache.seatunnel.api.table.type.Record<?> record) - 指定者:
received在接口中OneInputFlowLifeCycle<T>
-
notifyCheckpointComplete
- 指定者:
notifyCheckpointComplete在接口中org.apache.seatunnel.api.state.CheckpointListener- 指定者:
notifyCheckpointComplete在接口中org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener- 抛出:
Exception
-
notifyCheckpointAborted
- 指定者:
notifyCheckpointAborted在接口中org.apache.seatunnel.api.state.CheckpointListener- 指定者:
notifyCheckpointAborted在接口中org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener- 抛出:
Exception
-
restoreState
- 指定者:
restoreState在接口中Stateful- 抛出:
Exception
-