@Bill Not sure I fully understand your comment? We have ClusterCacheElement (called ClusterConfigElement now), which defines a method called addTo(CacheConfig existing) (that is now wrapped by a ConfigurationPersister instance). It is up to the individual subclass of ClusterConfigElement (like ClusterRegionConfig) to return a ConfigurationPersister that implements this method. The implementation contains the logic to persist the specific instance of ClusterConfigElement into the cluster configuration on the locator. Essentially giving us the polymorphism you are referring to.
So I'm not sure I understand how what you're saying is different to what's happening? Would be great to sync up tomorrow to discuss this. [ Full content available at: https://github.com/apache/geode/pull/3059 ] This message was relayed via gitbox.apache.org for [email protected]
