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.
EOI| Constructor and Description |
|---|
CommittableSummary(int subtaskId,
int numberOfSubtasks,
long checkpointId,
int numberOfCommittables,
int numberOfPendingCommittables,
int numberOfFailedCommittables) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getCheckpointIdOrEOI()
Returns the checkpoint id or EOI if this message belong to the final checkpoint or the batch
commit.
|
int |
getNumberOfCommittables() |
int |
getNumberOfFailedCommittables() |
int |
getNumberOfPendingCommittables() |
int |
getNumberOfSubtasks() |
int |
getSubtaskId()
The subtask that created this committable.
|
int |
hashCode() |
<NewCommT> CommittableSummary<NewCommT> |
map() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCheckpointIdpublic CommittableSummary(int subtaskId,
int numberOfSubtasks,
long checkpointId,
int numberOfCommittables,
int numberOfPendingCommittables,
int numberOfFailedCommittables)
public int getSubtaskId()
CommittableMessagegetSubtaskId in interface CommittableMessage<CommT>public int getNumberOfSubtasks()
public long getCheckpointIdOrEOI()
CommittableMessagegetCheckpointIdOrEOI in interface CommittableMessage<CommT>public int getNumberOfCommittables()
public int getNumberOfPendingCommittables()
public int getNumberOfFailedCommittables()
public <NewCommT> CommittableSummary<NewCommT> map()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.