public class EndOfData extends RuntimeEvent
CheckpointBarriers traveling. The EndOfData is acknowledged by the downstream task. That way we can safely assume the downstream
task has consumed all the produced records and therefore we can perform a final checkpoint for
the upstream task.| Modifier and Type | Field and Description |
|---|---|
static EndOfData |
INSTANCE
The singleton instance of this event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
read(org.apache.flink.core.memory.DataInputView in) |
String |
toString() |
void |
write(org.apache.flink.core.memory.DataOutputView out) |
public static final EndOfData INSTANCE
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–2022 The Apache Software Foundation. All rights reserved.