public void addStatisticsToMonitor(final Statistics stats) {
    monitor.addListener(this);// if already listener is added this will be a no-op
    // Initialize the stats with the current values.
    StatisticsType type = stats.getType();
    StatisticDescriptor[] descriptors = type.getStatistics();
    for (StatisticDescriptor d : descriptors) {
      statsMap.put(d.getName(), stats.get(d));
    }

    monitor.addStatistics(stats);
  }
Map which contains statistics with their name and value
geode-core/src/main/java/org/apache/geode/management/internal/beans/stats/MBeanStatsMonitor.java