public synchronized void flush() {
    snapshotCount++;
    // if (heardFrom != null && notHeardFrom != null) {
    // forEachFlush(heardFrom.iterator());
    // forEachFlush(notHeardFrom.iterator());
    // }
    clear();
  }
Flushes results from previous snapshots and resets the snapshot state.
geode-core/src/main/java/org/apache/geode/internal/admin/CacheCollector.java