Class SystemMonitorController


  • @Controller
    public class SystemMonitorController
    extends Object
    Provide statistics about the system: hibernate, caches etc.
    Author:
    paul
    • Constructor Detail

      • SystemMonitorController

        public SystemMonitorController()
    • Method Detail

      • clearAllCaches

        public void clearAllCaches()
        Flush (clear) all caches. Exposed to AJAX
      • clearCache

        public void clearCache​(String name)
        Flush (clear) a cache.
        Parameters:
        name - of cache Exposed to AJAX
      • disableStatistics

        public void disableStatistics()
        Exposed to AJAX
      • enableStatistics

        public void enableStatistics()
        Exposed to AJAX
      • getCacheStatus

        public String getCacheStatus()
      • getHibernateStatus

        public String getHibernateStatus()
      • resetHibernateStatus

        public void resetHibernateStatus()
      • setCacheMonitor

        public void setCacheMonitor​(CacheMonitor cacheMonitor)
        Parameters:
        cacheMonitor - the cacheMonitor to set
      • setHibernateMonitor

        public void setHibernateMonitor​(HibernateMonitor hibernateMonitor)
        Parameters:
        hibernateMonitor - the hibernateMonitor to set