@Deprecated
  public void setDiskWriteAttributes(DiskWriteAttributes attrs) {
    if (regionAttributes.getDiskStoreName() != null) {
      throw new IllegalStateException(
          String.format("Deprecated API %s cannot be used with DiskStore %s",
              "setDiskWriteAttributes", regionAttributes.getDiskStoreName()));
    }
    regionAttributes.diskWriteAttributes = attrs;
    regionAttributes.setHasDiskWriteAttributes(true);
    if (attrs != null) {
      // keep new apis in sync with old
      regionAttributes.diskSynchronous = attrs.isSynchronous();
    }
  }
Sets the {@link DiskWriteAttributes} for this factory

@param attrs the {@link DiskWriteAttributes} to be set for this factory

@see Region#writeToDisk

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