通过jmx更改Ehcache缓存大小

时间:2019-04-11 10:39:04

标签: java spring jmx ehcache-2

我已使用本文https://khushroomistry.wordpress.com/2013/09/24/monitoring-ehcache-spring/

添加了Ehcache jmx监视

我无法弄清楚的是如何通过jmx启用缓存大小调整?可能吗?

在文档http://www.ehcache.org/generated/2.10.4/html/ehc-all/#page/Ehcache_Documentation_Set%2Fco-cfgbasics_dynamically_changing_cache_config.html%23中找到了纯Java方式

但是没有标准的现成方法:(

(Ehcache 2.10)

谢谢!

0 个答案:

没有答案
相关问题