public interface MetadataSerializer
extends org.apache.flink.core.io.Versioned
Version-specific serializers are accessed via the MetadataSerializers helper.
| 限定符和类型 | 方法和说明 |
|---|---|
CheckpointMetadata |
deserialize(DataInputStream dis,
ClassLoader userCodeClassLoader,
String externalPointer)
Deserializes a savepoint from an input stream.
|
void |
serialize(CheckpointMetadata checkpointMetadata,
DataOutputStream dos)
Serializes a savepoint or checkpoint metadata to an output stream.
|
CheckpointMetadata deserialize(DataInputStream dis, ClassLoader userCodeClassLoader, String externalPointer) throws IOException
dis - Input stream to deserialize savepoint fromuserCodeClassLoader - the user code class loaderexternalPointer - the external pointer of the given checkpointIOException - Serialization failures are forwardedvoid serialize(CheckpointMetadata checkpointMetadata, DataOutputStream dos) throws IOException
IOException - Serialization failures are forwardedCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.