Interface HibernateMonitor

  • All Known Implementing Classes:
    HibernateMonitorImpl

    public interface HibernateMonitor
    Author:
    paul
    • 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 statistics
        showCollectionStats - whether to show collection statistics
        showSecondLevelCacheDetails - whether to show level cache details
        Returns:
        log
      • resetStats

        void resetStats()
        Clear all statistics.