public RemoteStatResource[] getStats(RemoteGemFireVM vm) {
    List statList = new ArrayList();
    for (final RemoteStatResource stat : stats) {
      stat.setGemFireVM(vm);
      statList.add(stat);
    }
    return (RemoteStatResource[]) statList.toArray(new RemoteStatResource[0]);
  }
Retrieves all statistic resources from the specified VM except for those involving SharedClass.
This is used by the GUI Console.

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