MdsSchedulerService¶
-
public interface
MdsSchedulerService
¶ The
MdsSchedulerService
provides methods for scheduling and unscheduling jobs. We do not use the MOTECH scheduler, to avoid circular dependencies. This service only allows to schedule MDS-specific jobs.
Methods¶
scheduleRepeatingJob¶
-
void
scheduleRepeatingJob
(long interval)¶ Schedules a job, responsible for periodic emptying of the MDS trash. Throws
java.lang.IllegalArgumentException
if the passed interval is set to 0.Parameters: - interval – interval between next fires, in milliseconds