code: public static TimerTask scheduleTask(Runnable task, long delay, long period) {
  		TimerTask timerTask = new ScheduledTask(task);
  		taskTimer.scheduleAtFixedRate(timerTask, delay, period);
  		return timerTask;
  	}
docs: Schedules a task to periodically run. This is useful for tasks such as
  updating search indexes, deleting old data at periodic intervals, etc.
  
  @param task
  task to be scheduled.
  @param delay
  delay in milliseconds before task is to be executed.
  @param period
  time in milliseconds between successive task executions.
  @return a TimerTask object which can be used to track executions of the
  task and to cancel subsequent executions.