java.lang.Object
com.inductiveautomation.ignition.gateway.redundancy.types.RedundancySnapshot
Direct Known Subclasses:
BasicRedundancySnapshot

public abstract class RedundancySnapshot extends Object
See the RedundancyDiff class Javadoc for a full rundown on how this class is used.
  • Constructor Details

    • RedundancySnapshot

      public RedundancySnapshot()
  • Method Details

    • getSignatures

      @NotNull public abstract @NotNull Set<RedundancySignature> getSignatures()
    • calculateSnapshotDigest

      public String calculateSnapshotDigest(String redundancyId)
      Checks all the signatures in the set, sorts them by their id, and then generates a SHA-256 digest string. This string can then be used to compare to another snapshot to see if they are equal.