Hello,
I want to ask a brief question. Is it possible to modify cache configuration after the cache has been created or started, in any infinispan version?
For example:
-----------------------------------------------------------------------------------------------------------------------------------
DefaultCacheManager manager = new DefaultCacheManager("config-file.xml");
Configuration baseConf = manager.getDefaultCacheConfiguration();
String programmaticCache = "testClusterCache";
manager.defineConfiguration(programmaticCache, baseConf);
Cache<String, Ticket> cache = manager.getCache(programmaticCache);
//Now change its configuration
//like eviction algorithm or maxentries
------------------------------------------------------------------------------------------------------------------------------------
Thank you,
no, after the cache is started all these elements are immutable.
Use another cache perhaps and shutdown the first one?