public void setDiskDirsAndSize(File[] diskDirs, int[] sizes) {
    checkIfDirectoriesExist(diskDirs);
    this.diskDirs = diskDirs;
    if (sizes.length != this.diskDirs.length) {
      throw new IllegalArgumentException(
          String.format(
              "Number of diskSizes is %s which is not equal to number of disk Dirs which is %s",
              sizes.length, diskDirs.length));
    }
    verifyNonNegativeDirSize(sizes);
    diskDirSizes = sizes;
    setHasDiskDirs(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