BigMemory 4.3.6 | Product Documentation | BigMemory Max Integrations | Using BigMemory Max with Hibernate | Viewing Hibernate Statistics
 
Viewing Hibernate Statistics
It is possible to access the Hibernate statistics and BigMemory Max 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 Max) 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.