private boolean update(boolean doReset, boolean autoClose) throws IOException {
    if (closed) {
      return false;
    }
    boolean result = false;
    StatArchiveReader.StatArchiveFile[] archives = getArchives();
    for (StatArchiveFile f : archives) {
      if (f.update(doReset)) {
        result = true;
      }
      if (autoClose) {
        f.close();
      }
    }
    return result;
  }
Checks to see if any archives have changed since the StatArchiverReader instance was created or
last updated. If an archive has additional samples then those are read the resource instances
maintained by the reader are updated.
<p>
Once closed a reader can no longer be updated.

@return true if update read some new data.
@throws IOException if an archive could not be opened read, or closed.
geode-core/src/main/java/org/apache/geode/internal/statistics/StatArchiveReader.java