/** Should be called by backend, schedules the execution as configured. */ void initialize() { log.info("Start initializing " + getClass().getSimpleName()); SchedulerUtilQuartzImpl.getInstance() .scheduleACronJob( this, "onTimer", new Class<?>[] {}, new Object[] {}, Config.<String>getValue(ConfigValues.AutoRecoverySchedule)); log.info("Finished initializing " + getClass().getSimpleName()); }
private SchedulerUtil getScheduler() { return SchedulerUtilQuartzImpl.getInstance(); }