Interface CommittableMessage<CommT>
- All Known Implementing Classes:
CommittableSummary,CommittableWithLineage
@Experimental
public interface CommittableMessage<CommT>
The message send from
SinkWriter to Committer.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longSpecial value for checkpointId for the end of input in case of batch commit or final checkpoint. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the checkpoint id or EOI if this message belong to the final checkpoint or the batch commit.intThe subtask that created this committable.
-
Field Details
-
EOI
static final long EOISpecial value for checkpointId for the end of input in case of batch commit or final checkpoint.- See Also:
-
-
Method Details
-
getSubtaskId
int getSubtaskId()The subtask that created this committable. -
getCheckpointIdOrEOI
long getCheckpointIdOrEOI()Returns the checkpoint id or EOI if this message belong to the final checkpoint or the batch commit.
-