Is there any common JSP or page that can provide functionality to see the caches names, their size or contents or provide option to delete 开发者_高级运维elements from cache or remove all elements from cache.
If not all functionality one or more is fine. I can add the rest.
EHCache provides administration trough web console and REST API in their enterprise version. Details can be found here.
Underneath JMX is used. Below two links provide information on enabling JMX. Once it is enabled, you can use the JMX console that comes with AppServer or use an open source console like MX4J
- http://onjavahell.blogspot.com/2009/09/monitoring-ehcache-with-jmx-and-spring.html
- http://snippets.dzone.com/posts/show/11159
- http://forums.terracotta.org/forums/posts/list/4316.page
精彩评论