类 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, 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
-
-
-
-
构造器详细资料
-
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, CompletableFuture<Void> completableFuture, org.apache.seatunnel.api.common.metrics.MetricsContext metricsContext)
-
-
方法详细资料
-
init
public void init() throws Exception- 指定者:
init在接口中FlowLifeCycle- 抛出:
Exception
-
open
public void open() throws Exception- 指定者:
open在接口中FlowLifeCycle- 抛出:
Exception
-
close
public void close() throws IOException- 指定者:
close在接口中FlowLifeCycle- 覆盖:
close在类中AbstractFlowLifeCycle- 抛出:
IOException
-
received
public void received(org.apache.seatunnel.api.table.type.Record<?> record)
- 指定者:
received在接口中OneInputFlowLifeCycle<T>
-
notifyCheckpointComplete
public void notifyCheckpointComplete(long checkpointId) throws Exception- 指定者:
notifyCheckpointComplete在接口中org.apache.seatunnel.api.state.CheckpointListener- 指定者:
notifyCheckpointComplete在接口中org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener- 抛出:
Exception
-
notifyCheckpointAborted
public void notifyCheckpointAborted(long checkpointId) throws Exception- 指定者:
notifyCheckpointAborted在接口中org.apache.seatunnel.api.state.CheckpointListener- 指定者:
notifyCheckpointAborted在接口中org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener- 抛出:
Exception
-
restoreState
public void restoreState(List<ActionSubtaskState> actionStateList) throws Exception
- 指定者:
restoreState在接口中Stateful- 抛出:
Exception
-
-