CommT - type of the committable@Internal
public interface CommittableManager<CommT>
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<CommittableWithLineage<CommT>> |
commit(boolean fullyReceived,
org.apache.flink.api.connector.sink2.Committer<CommT> committer)
Commits all due committables.
|
CommittableSummary<CommT> |
getSummary()
Returns a summary of the current commit progress.
|
CommittableSummary<CommT> getSummary()
Collection<CommittableWithLineage<CommT>> commit(boolean fullyReceived, org.apache.flink.api.connector.sink2.Committer<CommT> committer) throws IOException, InterruptedException
fullyReceived - only commit committables if all committables of this checkpoint for a
subtask are receivedcommitter - used to commit to the external systemIOExceptionInterruptedExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.