class TaskLaunchScheduledService extends AbstractScheduledService {

    @Override
    protected Scheduler scheduler() {
        return Scheduler.newFixedDelaySchedule(2, 10, TimeUnit.SECONDS);
    }

}