@Deprecated
  public void setTimeInterval(long timeInterval) {
    if (timeInterval < 0) {
      throw new IllegalArgumentException(
          String.format(
              "Time Interval specified has to be a non-negative number and the value given %s is not acceptable",
              timeInterval));
    }

    props.setProperty(CacheXml.TIME_INTERVAL, String.valueOf(timeInterval));
  }
Sets the number of milliseconds that can elapse before unwritten data is written to disk. It
has significance only in case of asynchronous mode of writing.

@param timeInterval Time interval in milliseconds
@throws IllegalArgumentException if the value specified is a negative number
@deprecated as of 6.5 use {@link DiskStoreFactory#setTimeInterval} instead
geode-core/src/main/java/org/apache/geode/cache/DiskWriteAttributesFactory.java