Package ubic.gemma.web.util
Interface HibernateMonitor
-
- All Known Implementing Classes:
HibernateMonitorImpl
public interface HibernateMonitor
- Author:
- paul
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getStats()
String
getStats(boolean showEntityStats, boolean showCollectionStats, boolean showSecondLevelCacheDetails)
Log some statistics.void
resetStats()
Clear all statistics.
-
-
-
Method Detail
-
getStats
String getStats()
- Returns:
- Log some statistics.
-
getStats
String getStats(boolean showEntityStats, boolean showCollectionStats, boolean showSecondLevelCacheDetails)
Log some statistics. Parameters control the sections that are populated.- Parameters:
showEntityStats
- whether to show entity statisticsshowCollectionStats
- whether to show collection statisticsshowSecondLevelCacheDetails
- whether to show level cache details- Returns:
- log
-
resetStats
void resetStats()
Clear all statistics.
-
-