This content has been marked as final.
Show 1 reply
-
1. Re: JDG statistics, configuration and tomcat questions
nadirx Feb 23, 2015 5:08 AM (in response to mmr11408)For resetting stats programmatically, try this:
cache.getAdvancedCache().getStats().reset();
Tagged stats: no we don't have anything of the sort.
Logging declarative configuration:
cacheManager.getConfiguration("myCache").toString(); cacheManager.getCacheManagerConfiguration().toString();
Runtime configuration modification: yes we are working on that. The statement from the book is not entirely correct as some options are indeed modifiable at runtime (e.g timeouts):
cacheManager.getConfiguration("myCache").clustering().stateTransfer().timeout(TimeUnit(100, TimeUnit.SECONDS));
We test against Tomcat, so there should be no issues.
Tristan