Package step.plugins.housekeeping
Class HousekeepingJobsManager
- java.lang.Object
-
- step.plugins.housekeeping.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HousekeepingJobFactory
getJobFactory(step.core.controller.ControllerSettingAccessor controllerSettingAccessor, step.plugins.measurements.raw.MeasurementAccessor measurementAccessor, step.core.timeseries.TimeSeries timeSeries, HousekeepingExecutionAccessor housekeepingExecutionAccessor, HousekeepingManager housekeepingManager)
protected org.quartz.Scheduler
getScheduler()
void
scheduleHousekeepingJob()
Schedule a new housekeeping job in quartz or reschedule the existing job with actual cron schedulevoid
shutdown()
-
-
-
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
-
-