Class RecoveryMetadata
- java.lang.Object
-
- org.apache.flink.runtime.event.AbstractEvent
-
- org.apache.flink.runtime.event.RuntimeEvent
-
- org.apache.flink.runtime.io.network.api.RecoveryMetadata
-
- All Implemented Interfaces:
org.apache.flink.core.io.IOReadableWritable
@Internal public class RecoveryMetadata extends RuntimeEvent
RecoveryMetadatacontains the metadata used during a recovery process.
-
-
Constructor Summary
Constructors Constructor Description RecoveryMetadata(int finalBufferSubpartitionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetFinalBufferSubpartitionId()inthashCode()voidread(org.apache.flink.core.memory.DataInputView in)StringtoString()voidwrite(org.apache.flink.core.memory.DataOutputView out)
-
-
-
Method Detail
-
getFinalBufferSubpartitionId
public int getFinalBufferSubpartitionId()
- Returns:
- the index of the subpartition where the last buffer stored in a snapshot locates.
-
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
-
-