Interface TimerConfig


public interface TimerConfig
Configuration interface for timer settings.
  • Method Details

    • name

      TimerConfig name(String name)
      Sets the name of the timer.
      Parameters:
      name - the name to set for the timer
      Returns:
      this config instance for method chaining
    • tickDuration

      TimerConfig tickDuration(long tickDuration, TimeUnit timeUnit)
      Sets the tick duration for the timer.
      Parameters:
      tickDuration - the duration of each tick
      timeUnit - the time unit for the tick duration
      Returns:
      this config instance for method chaining