public RemoteStatResource[] getAllStats(RemoteGemFireVM vm) {
    for (final RemoteStatResource stat : stats) {
      stat.setGemFireVM(vm);
    }
    return stats;
  }
Retrieves all statistic resources from the specified VM.

@param vm local representation of remote vm that stats came from
@return array of all statistic resources
geode-core/src/main/java/org/apache/geode/internal/admin/remote/FetchStatsResponse.java