@Override
  public void cleanupResource() {
    synchronized (managedStatisticsResourcesMap) {
      ConfigurationParameter[] names = getConfiguration();
      if (names != null) {
        for (ConfigurationParameter parm : names) {
          ((ConfigurationParameterImpl) parm).removeConfigurationParameterListener(this);
        }
      }
      parms.clear();

      Collection<StatisticResourceJmxImpl> statisticResources =
          managedStatisticsResourcesMap.values();

      for (StatisticResourceJmxImpl statisticResource : statisticResources) {
        MBeanUtils.unregisterMBean(statisticResource);
      }

      managedStatisticsResourcesMap.clear();
    }
    MBeanUtils.unregisterMBean(managedSystemMemberCache);
  }
Un-registers all the statistics & cache managed resource created for this member. After
un-registering the resource MBean instances, clears managedStatisticsResourcesMap collection.
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/SystemMemberJmxImpl.java