public String[] listSubRegionPaths(boolean recursive) {
    SortedSet<String> subregionPaths = new TreeSet<>();
    Set<Region<?, ?>> subregions = region.subregions(recursive);

    for (Region<?, ?> region : subregions) {
      subregionPaths.add(region.getFullPath());
    }
    return subregionPaths.toArray(new String[0]);
  }
This class acts as a bridge between a Region and RegionMBean This also listens for statistics
changes and update its value accordingly

@param <K>
@param <V>
geode-core/src/main/java/org/apache/geode/management/internal/beans/RegionMBeanBridge.java