Class GlobalSnapshotStateSerializer
java.lang.Object
org.apache.ignite.internal.versioned.VersionedSerializer<GlobalSnapshotState>
org.gridgain.internal.snapshots.communication.metastorage.GlobalSnapshotStateSerializer
public class GlobalSnapshotStateSerializer
extends org.apache.ignite.internal.versioned.VersionedSerializer<GlobalSnapshotState>
VersionedSerializer for GlobalSnapshotState instances.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected GlobalSnapshotStatereadExternalData(byte protoVer, org.apache.ignite.internal.util.io.IgniteDataInput in) protected voidwriteExternalData(GlobalSnapshotState state, org.apache.ignite.internal.util.io.IgniteDataOutput out) Methods inherited from class org.apache.ignite.internal.versioned.VersionedSerializer
getProtocolVersion, readByteArrayWithLength, readExternal, readNullableString, readNullableUuid, readStringSet, readUuidSet, readVarIntSet, writeByteArrayWithLength, writeExternal, writeNullableString, writeNullableUuid, writeStringSet, writeUuidSet, writeVarIntSet
-
Field Details
-
INSTANCE
Serializer instance.
-
-
Constructor Details
-
GlobalSnapshotStateSerializer
public GlobalSnapshotStateSerializer()
-
-
Method Details
-
writeExternalData
protected void writeExternalData(GlobalSnapshotState state, org.apache.ignite.internal.util.io.IgniteDataOutput out) throws IOException - Specified by:
writeExternalDatain classorg.apache.ignite.internal.versioned.VersionedSerializer<GlobalSnapshotState>- Throws:
IOException
-
readExternalData
protected GlobalSnapshotState readExternalData(byte protoVer, org.apache.ignite.internal.util.io.IgniteDataInput in) throws IOException - Specified by:
readExternalDatain classorg.apache.ignite.internal.versioned.VersionedSerializer<GlobalSnapshotState>- Throws:
IOException
-