Package org.gridgain.internal.snapshots
Class SnapshotMetaSerializer
java.lang.Object
org.gridgain.internal.snapshots.SnapshotMetaSerializer
Class for reading and writing Snapshot Meta files.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadSnapshotMeta(SnapshotFileSystem fileSystem) Reads and deserialize snapshot metadata from provided snapshot file system.voidwriteSnapshotMeta(SnapshotMeta snapshotMeta, SnapshotFileSystem snapshotFileSystem) Writes the Snapshot Meta of the given Snapshot (identified by the given Snapshot ID) to a file.
-
Constructor Details
-
SnapshotMetaSerializer
public SnapshotMetaSerializer()
-
-
Method Details
-
readSnapshotMeta
Reads and deserialize snapshot metadata from provided snapshot file system.- Parameters:
fileSystem- Snapshot file system.
-
writeSnapshotMeta
Writes the Snapshot Meta of the given Snapshot (identified by the given Snapshot ID) to a file.
-