ololo3000 commented on a change in pull request #46:
URL: https://github.com/apache/ignite-extensions/pull/46#discussion_r583659860
##########
File path:
modules/spring-cache-ext/src/main/java/org/apache/ignite/cache/spring/IgniteClientSpringCacheManager.java
##########
@@ -150,44 +146,27 @@ public IgniteClientSpringCacheManager
setClientConfiguration(ClientConfiguration
return this;
}
- /** Gets Ignite cache configurations. */
- public Collection<ClientCacheConfiguration> getCacheConfigurations() {
- return ccfgs == null ? Collections.emptyList() : ccfgs.values();
+ /** Gets dynamic Ignite cache configuration template. */
+ public ClientCacheConfiguration getDynamicCacheConfiguration() {
+ return dynamicCacheCfg == null ? null : dynamicCacheCfg.setName(null);
// To avoid copying the dynamic cache configuration each time as we only change
its name.
Review comment:
Done.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]