Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
In CacheConfig: public List<CacheElement> getCustomCacheElements();
In RegionConfig: public List<CacheElement> getCustomRegionElements();

For developers who can want to easily add/remove these elements from cluster configuration, it is desirable to have these helper methods in the api. These are essentially achieved by calling the two interfaces methods we defined above (getCacheConfig and updateCacheConfig) internally. So they can be provided as default implemetations of the interface.

...