类 SourceFlowLifeCycle<T,​SplitT extends org.apache.seatunnel.api.source.SourceSplit>

  • 所有已实现的接口:
    org.apache.seatunnel.api.state.CheckpointListener, org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener, Stateful, FlowLifeCycle

    public class SourceFlowLifeCycle<T,​SplitT extends org.apache.seatunnel.api.source.SourceSplit>
    extends ActionFlowLifeCycle
    implements org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener
    • 构造器详细资料

      • SourceFlowLifeCycle

        public SourceFlowLifeCycle​(org.apache.seatunnel.engine.core.dag.actions.SourceAction<T,​SplitT,​?> sourceAction,
                                   int indexID,
                                   TaskLocation enumeratorTaskLocation,
                                   SeaTunnelTask runningTask,
                                   TaskLocation currentTaskLocation,
                                   CompletableFuture<Void> completableFuture,
                                   org.apache.seatunnel.api.common.metrics.MetricsContext metricsContext)
    • 方法详细资料

      • signalNoMoreElement

        public void signalNoMoreElement()
      • requestSplit

        public void requestSplit()
      • sendSourceEventToEnumerator

        public void sendSourceEventToEnumerator​(org.apache.seatunnel.api.source.SourceEvent sourceEvent)
      • receivedSplits

        public void receivedSplits​(List<SplitT> splits)
      • 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
      • notifyCheckpointEnd

        public void notifyCheckpointEnd​(long checkpointId)
                                 throws Exception
        指定者:
        notifyCheckpointEnd 在接口中 org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener
        抛出:
        Exception