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.static SnapshotMetaReads and deserialize snapshot metadata from the given path.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.
-
readSnapshotMeta
Reads and deserialize snapshot metadata from the given path.- Parameters:
path- Path to snapshot meta file.
-
writeSnapshotMeta
Writes the Snapshot Meta of the given Snapshot (identified by the given Snapshot ID) to a file.
-