Class CancelCheckpointMarker
- java.lang.Object
-
- org.apache.flink.runtime.event.AbstractEvent
-
- org.apache.flink.runtime.event.RuntimeEvent
-
- org.apache.flink.runtime.io.network.api.CancelCheckpointMarker
-
- All Implemented Interfaces:
org.apache.flink.core.io.IOReadableWritable
public class CancelCheckpointMarker extends RuntimeEvent
The CancelCheckpointMarker travels through the data streams, similar to theCheckpointBarrier, but signals that a certain checkpoint should be canceled. Any in-progress alignment for that checkpoint needs to be canceled and regular processing should be resumed.
-
-
Constructor Summary
Constructors Constructor Description CancelCheckpointMarker(long checkpointId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)longgetCheckpointId()inthashCode()voidread(org.apache.flink.core.memory.DataInputView in)StringtoString()voidwrite(org.apache.flink.core.memory.DataOutputView out)
-
-
-
Method Detail
-
getCheckpointId
public long getCheckpointId()
-
write
public void write(org.apache.flink.core.memory.DataOutputView out) throws IOException- Throws:
IOException
-
read
public void read(org.apache.flink.core.memory.DataInputView in) throws IOException- Throws:
IOException
-
-