@Deprecated
  public void setMaxOplogSize(int maxOplogSize) {

    if (maxOplogSize < 0) {
      throw new IllegalArgumentException(
          String.format(
              "Maximum Oplog size specified has to be a non-negative number and the value given %s is not acceptable",
              maxOplogSize));
    }
    long maxOplogSizeInBytes = convertToBytes(maxOplogSize);
    props.setProperty(CacheXml.MAX_OPLOG_SIZE, String.valueOf(maxOplogSizeInBytes));
  }
Sets the maximum oplog size in megabytes. When the active oplog size hits the maximum a new
oplog will be created.
<P>
Note that this method sets the same attribute as {@link #setMaxOplogSizeInBytes}. The last set
of the attribute determines its value.

@param maxOplogSize the maximum size of the oplog in megabytes.
@throws IllegalArgumentException if the value specified is a negative number
@deprecated as of 6.5 use {@link DiskStoreFactory#setMaxOplogSize} instead
geode-core/src/main/java/org/apache/geode/cache/DiskWriteAttributesFactory.java