类 SinkAggregatedCommitterTask<CommandInfoT,AggregatedCommitInfoT>
java.lang.Object
org.apache.seatunnel.engine.server.task.AbstractTask
org.apache.seatunnel.engine.server.task.CoordinatorTask
org.apache.seatunnel.engine.server.task.SinkAggregatedCommitterTask<CommandInfoT,AggregatedCommitInfoT>
- 所有已实现的接口:
com.hazelcast.internal.metrics.DynamicMetricsProvider,Serializable,org.apache.seatunnel.api.state.CheckpointListener,org.apache.seatunnel.engine.core.checkpoint.InternalCheckpointListener,Stateful,Task
public class SinkAggregatedCommitterTask<CommandInfoT,AggregatedCommitInfoT>
extends CoordinatorTask
- 另请参阅:
-
字段概要
从类继承的字段 org.apache.seatunnel.engine.server.task.AbstractTask
closeCalled, executionContext, jobID, prepareCloseBarrierId, prepareCloseStatus, progress, restoreComplete, startCalled, taskLocation -
构造器概要
构造器构造器说明SinkAggregatedCommitterTask(long jobID, TaskLocation taskID, org.apache.seatunnel.engine.core.dag.actions.SinkAction<?, ?, CommandInfoT, AggregatedCommitInfoT> sink, org.apache.seatunnel.api.sink.SinkAggregatedCommitter<CommandInfoT, AggregatedCommitInfoT> aggregatedCommitter) -
方法概要
修饰符和类型方法说明@NonNull ProgressStatecall()voidclose()Set<org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier>voidinit()voidnotifyCheckpointAborted(long checkpointId) voidnotifyCheckpointComplete(long checkpointId) voidreceivedWriterCommitInfo(long checkpointID, CommandInfoT commitInfos) voidreceivedWriterRegister(TaskLocation writerID, com.hazelcast.cluster.Address address) voidrestoreState(List<ActionSubtaskState> actionStateList) protected voidvoidtriggerBarrier(Barrier barrier) 从类继承的方法 org.apache.seatunnel.engine.server.task.CoordinatorTask
getMetricsContext, provideDynamicMetrics从类继承的方法 org.apache.seatunnel.engine.server.task.AbstractTask
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.core.checkpoint.InternalCheckpointListener
notifyCheckpointEnd从接口继承的方法 org.apache.seatunnel.engine.server.execution.Task
isThreadsShare
-
构造器详细资料
-
SinkAggregatedCommitterTask
public SinkAggregatedCommitterTask(long jobID, TaskLocation taskID, org.apache.seatunnel.engine.core.dag.actions.SinkAction<?, ?, CommandInfoT, AggregatedCommitInfoT> sink, org.apache.seatunnel.api.sink.SinkAggregatedCommitter<CommandInfoT, AggregatedCommitInfoT> aggregatedCommitter)
-
-
方法详细资料
-
init
- 指定者:
init在接口中Task- 覆盖:
init在类中CoordinatorTask- 抛出:
Exception
-
receivedWriterRegister
-
call
- 指定者:
call在接口中Task- 指定者:
call在类中AbstractTask- 抛出:
Exception
-
stateProcess
- 抛出:
Exception
-
close
- 指定者:
close在接口中Task- 覆盖:
close在类中AbstractTask- 抛出:
IOException
-
triggerBarrier
- 抛出:
Exception
-
restoreState
- 抛出:
Exception
-
receivedWriterCommitInfo
-
getJarsUrl
- 指定者:
getJarsUrl在类中AbstractTask
-
getConnectorPluginJars
- 指定者:
getConnectorPluginJars在类中AbstractTask
-
notifyCheckpointComplete
- 抛出:
Exception
-
notifyCheckpointAborted
- 抛出:
Exception
-