类 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>getConnectorPluginJars()Set<URL>getJarsUrl()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 voidstateProcess()voidtriggerBarrier(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.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
public void init() throws Exception- 指定者:
init在接口中Task- 覆盖:
init在类中CoordinatorTask- 抛出:
Exception
-
receivedWriterRegister
public void receivedWriterRegister(TaskLocation writerID, com.hazelcast.cluster.Address address)
-
call
@NonNull public @NonNull ProgressState call() throws Exception
- 指定者:
call在接口中Task- 指定者:
call在类中AbstractTask- 抛出:
Exception
-
close
public void close() throws IOException- 指定者:
close在接口中Task- 覆盖:
close在类中AbstractTask- 抛出:
IOException
-
restoreState
public void restoreState(List<ActionSubtaskState> actionStateList) throws Exception
- 抛出:
Exception
-
receivedWriterCommitInfo
public void receivedWriterCommitInfo(long checkpointID, CommandInfoT commitInfos)
-
getJarsUrl
public Set<URL> getJarsUrl()
- 指定者:
getJarsUrl在类中AbstractTask
-
getConnectorPluginJars
public Set<org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier> getConnectorPluginJars()
- 指定者:
getConnectorPluginJars在类中AbstractTask
-
notifyCheckpointComplete
public void notifyCheckpointComplete(long checkpointId) throws Exception- 抛出:
Exception
-
-