Class HousekeepingJobsManager


  • public class HousekeepingJobsManager
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      HousekeepingJobsManager​(ch.exense.commons.app.Configuration configuration, step.core.controller.ControllerSettingAccessor controllerSettingAccessor, step.plugins.measurements.raw.MeasurementAccessor measurementAccessor, step.core.timeseries.TimeSeries timeSeries, HousekeepingExecutionAccessor housekeepingExecutionAccessor, HousekeepingManager housekeepingManager)  
    • Constructor Detail

      • HousekeepingJobsManager

        public HousekeepingJobsManager​(ch.exense.commons.app.Configuration configuration,
                                       step.core.controller.ControllerSettingAccessor controllerSettingAccessor,
                                       step.plugins.measurements.raw.MeasurementAccessor measurementAccessor,
                                       step.core.timeseries.TimeSeries timeSeries,
                                       HousekeepingExecutionAccessor housekeepingExecutionAccessor,
                                       HousekeepingManager housekeepingManager)
                                throws org.quartz.SchedulerException
        Throws:
        org.quartz.SchedulerException
    • Method Detail

      • getJobFactory

        protected HousekeepingJobFactory getJobFactory​(step.core.controller.ControllerSettingAccessor controllerSettingAccessor,
                                                       step.plugins.measurements.raw.MeasurementAccessor measurementAccessor,
                                                       step.core.timeseries.TimeSeries timeSeries,
                                                       HousekeepingExecutionAccessor housekeepingExecutionAccessor,
                                                       HousekeepingManager housekeepingManager)
      • getScheduler

        protected org.quartz.Scheduler getScheduler()
      • scheduleHousekeepingJob

        public void scheduleHousekeepingJob()
                                     throws org.quartz.SchedulerException
        Schedule a new housekeeping job in quartz or reschedule the existing job with actual cron schedule
        Throws:
        org.quartz.SchedulerException
      • shutdown

        public void shutdown()
                      throws org.quartz.SchedulerException
        Throws:
        org.quartz.SchedulerException