public class CheckpointBarrier extends RuntimeEvent
Once an operator has received a checkpoint barrier from all its input channels, it knows that a certain checkpoint is complete. It can trigger the operator specific checkpoint behavior and broadcast the barrier to downstream operators.
Depending on the semantic guarantees, may hold off post-checkpoint data until the checkpoint is complete (exactly once)
The checkpoint barrier IDs are strictly monotonous increasing.
| Constructor and Description |
|---|
CheckpointBarrier() |
CheckpointBarrier(long id,
long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
long |
getId() |
long |
getTimestamp() |
int |
hashCode() |
void |
read(org.apache.flink.core.memory.DataInputView in) |
String |
toString() |
void |
write(org.apache.flink.core.memory.DataOutputView out) |
public CheckpointBarrier()
public CheckpointBarrier(long id,
long timestamp)
public long getId()
public long getTimestamp()
public void write(org.apache.flink.core.memory.DataOutputView out)
throws IOException
IOExceptionpublic void read(org.apache.flink.core.memory.DataInputView in)
throws IOException
IOExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.