Class SnapshotView


  • public class SnapshotView
    extends Object
    Snapshot representation for a SystemView.
    • Constructor Detail

      • SnapshotView

        public SnapshotView​(org.apache.ignite.internal.processors.cache.persistence.snapshot.SnapshotMetadata meta,
                            Collection<String> cacheGrps)
        Parameters:
        meta - Snapshot metadata.
        cacheGrps - Cache group names that were included in the snapshot.
      • SnapshotView

        public SnapshotView​(org.apache.ignite.internal.processors.cache.persistence.snapshot.IncrementalSnapshotMetadata incMeta)
        Parameters:
        incMeta - Incremental snapshot metadata.
    • Method Detail

      • name

        public String name()
        Returns:
        Snapshot name.
      • consistentId

        public String consistentId()
        Returns:
        Node consistent ID.
      • baselineNodes

        public String baselineNodes()
        Returns:
        Baseline nodes affected by the snapshot.
      • cacheGroups

        public String cacheGroups()
        Returns:
        Cache group names that were included in the snapshot.
      • snapshotRecordSegment

        public Long snapshotRecordSegment()
        Returns:
        WAL segment that contains ClusterSnapshotRecord if exists.
      • incrementIndex

        public Integer incrementIndex()
        Returns:
        Incremental snapshot index, null for full snapshot.
      • type

        public String type()
        Returns:
        Snapshot type.
      • snapshotTime

        public Long snapshotTime()
        Returns:
        Creation timestamp in milliseconds since Unix epoch.