void updateCacheConfig(T config, String groupName, BiConsumer<T, CacheConfig> updater) {
    persistenceService.updateCacheConfig(groupName, cacheConfigForGroup -> {
      updater.accept(config, cacheConfigForGroup);
      return cacheConfigForGroup;
    });
  }
@param incoming the one that's about to be persisted
@param group the group name of the existing cache element
@param existing the existing cache element on another group
@throws IllegalArgumentException if the incoming CacheElement is not compatible with the
        existing

        Note: incoming and existing should have the same ID already
geode-core/src/main/java/org/apache/geode/management/internal/configuration/mutators/CacheConfigurationManager.java