Class SystemMetricsScheduler

java.lang.Object
org.easypeelsecurity.springdog.manager.statistics.SystemMetricsScheduler

@Component @EnableScheduling public class SystemMetricsScheduler extends Object
Scheduler to monitor system usage.
  • Constructor Details

    • SystemMetricsScheduler

      public SystemMetricsScheduler(org.easypeelsecurity.springdog.domain.statistics.StatisticsService statisticsService, org.easypeelsecurity.springdog.notification.SystemWatchNotificationManager systemWatchNotificationManager)
      Constructor.
  • Method Details

    • storeSystemsMetrics

      @Scheduled(fixedRateString="${springdog.systemMetricsScheduler.fixedRate:60000}") public void storeSystemsMetrics()
      Store system metrics.