类 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
  • 构造器详细资料

    • 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

      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