类 SeaTunnelTask

java.lang.Object
org.apache.seatunnel.engine.server.task.AbstractTask
org.apache.seatunnel.engine.server.task.SeaTunnelTask
所有已实现的接口:
com.hazelcast.internal.metrics.DynamicMetricsProvider, Serializable, org.apache.seatunnel.api.state.CheckpointListener, org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener, Stateful, Task
直接已知子类:
SourceSeaTunnelTask, TransformSeaTunnelTask

public abstract class SeaTunnelTask extends AbstractTask
另请参阅:
  • 字段详细资料

  • 构造器详细资料

    • SeaTunnelTask

      public SeaTunnelTask(long jobID, TaskLocation taskID, int indexID, Flow executionFlow)
  • 方法详细资料

    • init

      public void init() throws Exception
      指定者:
      init 在接口中 Task
      覆盖:
      init 在类中 AbstractTask
      抛出:
      Exception
    • stateProcess

      protected void stateProcess() throws Exception
      抛出:
      Exception
    • setTaskGroup

      public void setTaskGroup(TaskGroup group)
    • createSourceFlowLifeCycle

      protected abstract SourceFlowLifeCycle<?,?> createSourceFlowLifeCycle(org.apache.seatunnel.engine.core.dag.actions.SourceAction<?,?,?> sourceAction, SourceConfig config, org.apache.seatunnel.engine.common.utils.concurrent.CompletableFuture<Void> completableFuture, org.apache.seatunnel.api.common.metrics.MetricsContext metricsContext)
    • collect

      protected abstract void collect() throws Exception
      抛出:
      Exception
    • getJarsUrl

      public Set<URL> getJarsUrl()
      指定者:
      getJarsUrl 在类中 AbstractTask
    • getConnectorPluginJars

      public Set<org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier> getConnectorPluginJars()
      指定者:
      getConnectorPluginJars 在类中 AbstractTask
    • getActionStateKeys

      public Set<ActionStateKey> getActionStateKeys()
    • close

      public void close() throws IOException
      指定者:
      close 在接口中 Task
      覆盖:
      close 在类中 AbstractTask
      抛出:
      IOException
    • ack

      public void ack(Barrier barrier)
    • triggerSchemaChangeBeforeCheckpoint

      public com.hazelcast.spi.impl.operationservice.impl.InvocationFuture<Object> triggerSchemaChangeBeforeCheckpoint()
    • triggerSchemaChangeAfterCheckpoint

      public com.hazelcast.spi.impl.operationservice.impl.InvocationFuture<Object> triggerSchemaChangeAfterCheckpoint()
    • addState

      public void addState(Barrier barrier, ActionStateKey stateKey, List<byte[]> state)
    • notifyCheckpointComplete

      public void notifyCheckpointComplete(long checkpointId) throws Exception
      抛出:
      Exception
    • notifyCheckpointAborted

      public void notifyCheckpointAborted(long checkpointId) throws Exception
      抛出:
      Exception
    • notifyCheckpointEnd

      public void notifyCheckpointEnd(long checkpointId) throws Exception
      抛出:
      Exception
    • notifyAllAction

      public void notifyAllAction(org.apache.seatunnel.common.utils.function.ConsumerWithException<org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener> consumer)
    • restoreState

      public void restoreState(List<ActionSubtaskState> actionStateList) throws Exception
      抛出:
      Exception
    • getMetricsContext

      public SeaTunnelMetricsContext getMetricsContext()
    • provideDynamicMetrics

      public void provideDynamicMetrics(com.hazelcast.internal.metrics.MetricDescriptor descriptor, com.hazelcast.internal.metrics.MetricsCollectionContext context)