Class SnapshotPartitionsVerifyTaskArg

    • Constructor Detail

      • SnapshotPartitionsVerifyTaskArg

        public SnapshotPartitionsVerifyTaskArg()
        Default constructor.
      • SnapshotPartitionsVerifyTaskArg

        public SnapshotPartitionsVerifyTaskArg​(@Nullable
                                               @Nullable Collection<String> grpNames,
                                               Map<ClusterNode,​List<SnapshotMetadata>> clusterMetas,
                                               @Nullable
                                               @Nullable String snpPath,
                                               int incIdx,
                                               boolean check)
        Parameters:
        grpNames - Cache group names to be verified.
        clusterMetas - The map of distribution of snapshot metadata pieces across the cluster.
        snpPath - Snapshot directory path.
        incIdx - Incremental snapshot index.
        check - If true check snapshot integrity.
    • Method Detail

      • cacheGroupNames

        @Nullable
        public @Nullable Collection<String> cacheGroupNames()
        Returns:
        Cache group names to be verified.
      • snapshotPath

        @Nullable
        public @Nullable String snapshotPath()
        Returns:
        Snapshot directory path.
      • incrementIndex

        public int incrementIndex()
        Returns:
        Incremental snapshot index.
      • check

        public boolean check()
        Returns:
        If true check snapshot integrity.