Interface HibernateMonitor
- All Known Implementing Classes:
HibernateMonitorImpl
public interface HibernateMonitor
- Author:
- paul
-
Method Details
-
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.
-