code: @Trivial
      void initForRepeatingTask(boolean isFixedRate, long initialDelay, long interval) {
          this.initialDelay = initialDelay;
          this.interval = interval;
          this.isFixedRate = isFixedRate;
      }
docs: Initialization for a fixed-rate or fixed-delay task.
  
  @param isFixedRate indicates if this is a fixed-rate or fixed-delay task
  @param initialDelay milliseconds before first execution
  @param interval milliseconds between task executions