Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我找到了 sessionFactory.getStatistics(),我可以用它来查看命中和未命中计数。但是有没有一种简单的方法可以查看 hibernate 的二级缓存中实际存在哪些值?
对于 Ehcache,您可以使用Ehcache Monitor或JMX