code: private void schedule(TaskScheduler scheduler) {
          scheduledFuture = scheduler.scheduleAtFixedRate(
                  createTask(), (int)delayTime, (int)period, TimeUnit.MILLISECONDS);
      }
docs: Schedule forever
  
  @param scheduler TaskScheduler object