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.
| 构造器和说明 |
|---|
CheckpointBarrier(long id,
long timestamp,
CheckpointOptions checkpointOptions) |
| 限定符和类型 | 方法和说明 |
|---|---|
CheckpointBarrier |
asUnaligned() |
boolean |
equals(Object other) |
CheckpointOptions |
getCheckpointOptions() |
long |
getId() |
long |
getTimestamp() |
int |
hashCode() |
boolean |
isCheckpoint() |
void |
read(org.apache.flink.core.memory.DataInputView in) |
String |
toString() |
CheckpointBarrier |
withOptions(CheckpointOptions checkpointOptions) |
void |
write(org.apache.flink.core.memory.DataOutputView out) |
public CheckpointBarrier(long id,
long timestamp,
CheckpointOptions checkpointOptions)
public long getId()
public long getTimestamp()
public CheckpointOptions getCheckpointOptions()
public CheckpointBarrier withOptions(CheckpointOptions checkpointOptions)
public void write(org.apache.flink.core.memory.DataOutputView out)
throws IOException
IOExceptionpublic void read(org.apache.flink.core.memory.DataInputView in)
throws IOException
IOExceptionpublic boolean isCheckpoint()
public CheckpointBarrier asUnaligned()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.