CommT - type of the committable@Experimental public class CommittableSummary<CommT> extends Object implements CommittableMessage<CommT>
It is sent to down-stream consumers to depict the progress of the committing process.
| 构造器和说明 |
|---|
CommittableSummary(int subtaskId,
int numberOfSubtasks,
Long checkpointId,
int numberOfCommittables,
int numberOfPendingCommittables,
int numberOfFailedCommittables) |
| 限定符和类型 | 方法和说明 |
|---|---|
OptionalLong |
getCheckpointId()
Returns the checkpoint id or empty if the message does not belong to a checkpoint.
|
int |
getNumberOfCommittables() |
int |
getNumberOfFailedCommittables() |
int |
getNumberOfPendingCommittables() |
int |
getNumberOfSubtasks() |
int |
getSubtaskId()
The subtask that created this committable.
|
public int getSubtaskId()
CommittableMessagegetSubtaskId 在接口中 CommittableMessage<CommT>public int getNumberOfSubtasks()
public OptionalLong getCheckpointId()
CommittableMessagegetCheckpointId 在接口中 CommittableMessage<CommT>public int getNumberOfCommittables()
public int getNumberOfPendingCommittables()
public int getNumberOfFailedCommittables()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.