Package ubic.gemma.web.util
Class HibernateMonitorImpl
- java.lang.Object
- 
- ubic.gemma.web.util.HibernateMonitorImpl
 
- 
- All Implemented Interfaces:
- HibernateMonitor
 
 @Component public class HibernateMonitorImpl extends Object implements HibernateMonitor Monitoring of Hibernate status.- Author:
- pavlidis
 
- 
- 
Constructor SummaryConstructors Constructor Description HibernateMonitorImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetStats()StringgetStats(boolean showEntityStats, boolean showCollectionStats, boolean showSecondLevelCacheDetails)Log some statistics.voidresetStats()Clear all statistics.
 
- 
- 
- 
Method Detail- 
getStatspublic String getStats() - Specified by:
- getStatsin interface- HibernateMonitor
- Returns:
- Log some statistics.
 
 - 
getStatspublic 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 interface- HibernateMonitor
- Parameters:
- showEntityStats- whether to show entity statistics
- showCollectionStats- whether to show collection statistics
- showSecondLevelCacheDetails- whether to show level cache details
- Returns:
- log
 
 - 
resetStatspublic void resetStats() Description copied from interface:HibernateMonitorClear all statistics.- Specified by:
- resetStatsin interface- HibernateMonitor
 
 
- 
 
-