Class HibernateMonitorImpl
java.lang.Object
ubic.gemma.web.controller.monitoring.HibernateMonitorImpl
- All Implemented Interfaces:
HibernateMonitor
Monitoring of Hibernate status.
- Author:
- pavlidis
-
Constructor Details
-
HibernateMonitorImpl
public HibernateMonitorImpl()
-
-
Method Details
-
getStats
- Specified by:
getStatsin interfaceHibernateMonitor- Returns:
- Log some statistics.
-
getStats
public String getStats(boolean showEntityStats, boolean showCollectionStats, boolean showSecondLevelCacheDetails) Description copied from interface:HibernateMonitorLog some statistics. Parameters control the sections that are populated.- Specified by:
getStatsin interfaceHibernateMonitor- Parameters:
showEntityStats- whether to show entity statisticsshowCollectionStats- whether to show collection statisticsshowSecondLevelCacheDetails- whether to show level cache details- Returns:
- log
-
resetStats
public void resetStats()Description copied from interface:HibernateMonitorClear all statistics.- Specified by:
resetStatsin interfaceHibernateMonitor
-