code: @Override
      public void start() {
          rotationTimer = new Timer(true);
          TimerTask task = new TimerTask() {
              @Override
              public void run() {
                  rotationTimerTriggered.set(true);
              }
          };
          rotationTimer.scheduleAtFixedRate(task, interval, interval);
      }
docs: Start the timer to run at fixed intervals.