@Override
    public void saveConfig() {
      if (!dm.getConfig().getDisableAutoReconnect()) {
        dm.getCache().saveCacheXmlForReconnect();
      }
    }
This is the listener implementation for responding from events from the Membership Manager.
geode-core/src/main/java/org/apache/geode/distributed/internal/ClusterDistributionManager.java