@Deprecated
  public void setDiskDirs(File[] diskDirs) {
    if (regionAttributes.getDiskStoreName() != null) {
      throw new IllegalStateException(
          String.format("Deprecated API %s cannot be used with DiskStore %s",
              "setDiskDirs", regionAttributes.getDiskStoreName()));
    }
    DiskStoreFactoryImpl.checkIfDirectoriesExist(diskDirs);
    regionAttributes.diskDirs = diskDirs;
    regionAttributes.diskSizes = new int[diskDirs.length];
    for (int i = 0; i < diskDirs.length; i++) {
      regionAttributes.diskSizes[i] = DiskStoreFactory.DEFAULT_DISK_DIR_SIZE;
    }
    if (!regionAttributes.hasDiskWriteAttributes()
        && !regionAttributes.hasDiskSynchronous()) {
      // switch to the old default
      regionAttributes.diskSynchronous = false;
      regionAttributes.diskWriteAttributes = DiskWriteAttributesImpl.getDefaultAsyncInstance();
    }
    regionAttributes.setHasDiskDirs(true);
  }
Sets the directories with the default size of 10240 MB to which the region's data is written

@param diskDirs the directories to which the region's data is written

@throws GemFireIOException if a directory does not exist

@since GemFire 3.2
@deprecated as of 6.5 use {@link DiskStoreFactory#setDiskDirs} instead
geode-core/src/main/java/org/apache/geode/cache/AttributesFactory.java