Class SnapshotMetaSerializer

java.lang.Object
org.gridgain.internal.snapshots.SnapshotMetaSerializer

public class SnapshotMetaSerializer extends Object
Class for reading and writing Snapshot Meta files.
  • Constructor Details

    • SnapshotMetaSerializer

      public SnapshotMetaSerializer()
  • Method Details

    • readSnapshotMeta

      public SnapshotMeta readSnapshotMeta(SnapshotFileSystem fileSystem)
      Reads and deserialize snapshot metadata from provided snapshot file system.
      Parameters:
      fileSystem - Snapshot file system.
    • writeSnapshotMeta

      public void writeSnapshotMeta(SnapshotMeta snapshotMeta, SnapshotFileSystem snapshotFileSystem)
      Writes the Snapshot Meta of the given Snapshot (identified by the given Snapshot ID) to a file.