public synchronized void setRefreshTimeInterval(long interval) {
    refreshInterval = interval;
    rescheduleTimer();
  }
Set refresh time interval also cancel the previous {@link TimerTask} and create new timer task
based on ner refresh time interval

@param interval Refresh time interval
geode-core/src/main/java/org/apache/geode/internal/admin/StatAlertsManager.java