public interface KeyGroupCheckpointedOperator extends KeyGroupRestoringOperator
| Modifier and Type | Method and Description |
|---|---|
void |
snapshotKeyGroupState(int keyGroupIndex,
java.io.DataOutputStream out)
Snapshots the state for a given
keyGroupIdx. |
restoreKeyGroupStatevoid snapshotKeyGroupState(int keyGroupIndex,
java.io.DataOutputStream out)
throws java.lang.Exception
keyGroupIdx.
AbstractStreamOperator would call this hook in AbstractStreamOperator.snapshotState() while iterating over the key groups.
keyGroupIndex - the id of the key-group to be put in the snapshot.out - the stream to write to.java.lang.Exception