类 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
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明protected List<FlowLifeCycle>protected final Map<Long,List<ActionSubtaskState>> protected SeaTunnelTaskStateprotected intprotected List<OneInputFlowLifeCycle<org.apache.seatunnel.api.table.type.Record<?>>>protected FlowLifeCycle从类继承的字段 org.apache.seatunnel.engine.server.task.AbstractTask
closeCalled, executionContext, jobID, prepareCloseBarrierId, prepareCloseStatus, progress, restoreComplete, startCalled, taskLocation -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidvoidaddState(Barrier barrier, ActionStateKey stateKey, List<byte[]> state) voidclose()protected abstract voidcollect()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) Set<org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier>voidinit()voidnotifyAllAction(org.apache.seatunnel.common.utils.function.ConsumerWithException<org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener> consumer) voidnotifyCheckpointAborted(long checkpointId) voidnotifyCheckpointComplete(long checkpointId) voidnotifyCheckpointEnd(long checkpointId) voidprovideDynamicMetrics(com.hazelcast.internal.metrics.MetricDescriptor descriptor, com.hazelcast.internal.metrics.MetricsCollectionContext context) voidrestoreState(List<ActionSubtaskState> actionStateList) voidsetTaskGroup(TaskGroup group) protected voidcom.hazelcast.spi.impl.operationservice.impl.InvocationFuture<Object>com.hazelcast.spi.impl.operationservice.impl.InvocationFuture<Object>从类继承的方法 org.apache.seatunnel.engine.server.task.AbstractTask
call, closeCall, getExecutionContext, getTaskID, getTaskLocation, reportTaskStatus, serializeStates, setTaskExecutionContext, startCall, tryClose从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.apache.seatunnel.engine.server.execution.Task
isThreadsShare, triggerBarrier
-
字段详细资料
-
currState
-
startFlowLifeCycle
-
allCycles
-
outputs
-
flowFutures
-
checkpointStates
-
indexID
protected int indexID
-
-
构造器详细资料
-
SeaTunnelTask
-
-
方法详细资料
-
init
- 指定者:
init在接口中Task- 覆盖:
init在类中AbstractTask- 抛出:
Exception
-
stateProcess
- 抛出:
Exception
-
setTaskGroup
-
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
- 抛出:
Exception
-
getJarsUrl
- 指定者:
getJarsUrl在类中AbstractTask
-
getConnectorPluginJars
- 指定者:
getConnectorPluginJars在类中AbstractTask
-
getActionStateKeys
-
close
- 指定者:
close在接口中Task- 覆盖:
close在类中AbstractTask- 抛出:
IOException
-
ack
-
triggerSchemaChangeBeforeCheckpoint
public com.hazelcast.spi.impl.operationservice.impl.InvocationFuture<Object> triggerSchemaChangeBeforeCheckpoint() -
triggerSchemaChangeAfterCheckpoint
public com.hazelcast.spi.impl.operationservice.impl.InvocationFuture<Object> triggerSchemaChangeAfterCheckpoint() -
addState
-
notifyCheckpointComplete
- 抛出:
Exception
-
notifyCheckpointAborted
- 抛出:
Exception
-
notifyCheckpointEnd
- 抛出:
Exception
-
notifyAllAction
public void notifyAllAction(org.apache.seatunnel.common.utils.function.ConsumerWithException<org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener> consumer) -
restoreState
- 抛出:
Exception
-
getMetricsContext
-
provideDynamicMetrics
public void provideDynamicMetrics(com.hazelcast.internal.metrics.MetricDescriptor descriptor, com.hazelcast.internal.metrics.MetricsCollectionContext context)
-