@Deprecated
  public void setRefreshInterval(int refreshInterval) throws OperationNotSupportedException {
    throw new OperationNotSupportedException(
        "RefreshInterval can not be set directly. Use DistributedSystemConfig.refreshInterval.");
  }
RefreshInterval is now set only through the AdminDistributedSystem property refreshInterval.
Attempt to set refreshInterval on StatisticResourceJmx MBean would result in an
OperationNotSupportedException Auto-refresh is enabled on demand when a call to getStatistics
is made

@param refreshInterval the new refresh interval in seconds
@deprecated since 6.0 use DistributedSystemConfig.refreshInterval instead
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/StatisticResourceJmxImpl.java