-
1. Re: Infinispan and JGroups reload configuration?
markaddy Sep 12, 2011 11:00 AM (in response to darrellburgan)1 of 1 people found this helpfulHello Darrell
Runtime modifiable configuration fields are marked org.infinispan.config.Dynamic, but that's probably not going to be sufficient, certainly not if you want to change the underlying JGroups config. Apart from that you could engineer a restart the Cache / CacheManager to reload configuration, or better still an architecture that supports a rolling upgrade would allow for configuration changes without any loss of service. This would also permit you to make changes to your object graph without a total system restart.
Mark
[C2B2 Consulting|http://www.c2b2.co.uk]
-
2. Re: Infinispan and JGroups reload configuration?
darrellburgan Sep 12, 2011 11:09 AM (in response to markaddy)Okay I suspected I could toss the CacheManager and all related Caches, and reload everything from scratch. This would actually be okay with me, since I'm willing to drop cache everywhere during such an operation.
One question, though, is whether the XML file contents are themselves held in memory somewhere, so if I change them on disk will a brand-new CacheManager read the new changes from disk or will it use an old version of the file held in memory?
Thanks for the help!
-
3. Re: Infinispan and JGroups reload configuration?
markaddy Sep 12, 2011 11:23 AM (in response to darrellburgan)A new CacheManager will reload from disk.
Mark
-
4. Re: Infinispan and JGroups reload configuration?
darrellburgan Sep 12, 2011 6:56 PM (in response to markaddy)Thanks for the help - I think this will work well.