BigMemory 4.4.0 | Product Documentation | BigMemory Go Integrations | Using BigMemory Go with Hibernate | Viewing Hibernate Statistics
 
Viewing Hibernate Statistics
It is possible to access the Hibernate statistics and BigMemory Go statistics using the Java Management Extensions (JMX).
The EhcacheHibernateMBean is the main interface that exposes all the APIs via JMX. It basically extends two interfaces: EhcacheStats and HibernateStats. As the names imply, EhcacheStats contains methods related with Ehcache (and thereby, BigMemory Go) and HibernateStats contains methods related with Hibernate.
Using these APIs, you can see cache hit/miss/put rates, change config element values (e.g., maxElementInMemory, TTL TTI), enable/disable statistics collection, and various other things. For details, see the specific interface.