public boolean sameAs(DiskStore other) {
    if (autoCompact != other.getAutoCompact()) {
      throw new RuntimeException(
          String.format("AutoCompact of disk store %s is not the same: this: %s other: %s",
              name, autoCompact, other.getAutoCompact()));
    }
    if (compactionThreshold != other.getCompactionThreshold()) {
      throw new RuntimeException(
          String.format(
              "CompactionThreshold of disk store %s is not the same: this: %s other: %s",

              name, compactionThreshold, other.getCompactionThreshold()));
    }
    if (allowForceCompaction != other.getAllowForceCompaction()) {
      throw new RuntimeException(
          String.format(
              "AllowForceCompaction of disk store %s is not the same: this: %s other: %s",

              name, allowForceCompaction, other.getAllowForceCompaction()));
    }
    if (maxOplogSizeInBytes != other.getMaxOplogSize() * 1024 * 1024) {
      throw new RuntimeException(
          String.format("MaxOpLogSize of disk store %s is not the same: this: %s other: %s",
              name, maxOplogSizeInBytes / 1024 / 1024,
              other.getMaxOplogSize()));
    }
    if (timeInterval != other.getTimeInterval()) {
      throw new RuntimeException(
          String.format("TimeInterval of disk store %s is not the same: this: %s other: %s",
              name, timeInterval, other.getTimeInterval()));
    }
    if (writeBufferSize != other.getWriteBufferSize()) {
      throw new RuntimeException(
          String.format("WriteBufferSize of disk store %s is not the same: this: %s other: %s",

              name, writeBufferSize, other.getWriteBufferSize()));
    }
    if (queueSize != other.getQueueSize()) {
      throw new RuntimeException(
          String.format("QueueSize of disk store %s is not the same: this: %s other: %s",
              name, queueSize, other.getQueueSize()));
    }
    if (!equal(diskDirs, other.getDiskDirs())) {
      throw new RuntimeException(
          String.format("Disk Dirs of disk store %s are not the same",
              name));
    }
    if (!equal(diskDirSizes, other.getDiskDirSizes())) {
      throw new RuntimeException(
          String.format("Disk Dir Sizes of disk store %s are not the same",
              name));
    }
    if (!equal(getDiskUsageWarningPercentage(), other.getDiskUsageWarningPercentage())) {
      throw new RuntimeException(
          String.format("Disk usage warning percentages of disk store %s are not the same",
              name));
    }
    if (!equal(getDiskUsageCriticalPercentage(), other.getDiskUsageCriticalPercentage())) {
      throw new RuntimeException(
          String.format("Disk usage critical percentages of disk store %s are not the same",
              name));
    }
    return true;
  }
Returns whether or not this <code>DiskStoreCreation</code> is equivalent to another
<code>DiskStore</code>.
geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/DiskStoreAttributesCreation.java