BigMemory Max 4.3.4 | 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.

Copyright © 2010 - 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.