private void updatePrevious() {
    if (cacheStats != null && !cacheStats.isClosed()) {
      prevLoadTime = cacheStats.getLoadTime();
      prevLoadsCompleted = cacheStats.getLoadsCompleted();
      prevNetsearchTime = cacheStats.getNetsearchTime();
      prevNetsearchesCompleted = cacheStats.getNetsearchesCompleted();
      prevGets = cacheStats.getGets();

    } else {
      prevLoadTime = 0L;
      prevLoadsCompleted = 0L;
      prevNetsearchTime = 0L;
      prevNetsearchesCompleted = 0L;
      prevGets = 0L;
    }
  }
Updates the previous values of statistics
geode-core/src/main/java/org/apache/geode/admin/internal/CacheHealthEvaluator.java