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
RecoveryMetadata contains the metadata used during a recovery process.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RecoveryMetadata
public RecoveryMetadata(int finalBufferSubpartitionId)
-
-
Method Details
-
getFinalBufferSubpartitionId
public int getFinalBufferSubpartitionId()- Returns:
- the index of the subpartition where the last buffer stored in a snapshot locates.
-
write
- Throws:
IOException
-
read
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toString
-