class Fluent::PluginHelper::RetryState::PeriodicRetry

def calc_max_retry_timeout(max_steps)

def calc_max_retry_timeout(max_steps)
  @retry_wait * max_steps
end

def initialize(title, wait, timeout, forever, max_steps, randomize, randomize_width, secondary, secondary_threshold)

def initialize(title, wait, timeout, forever, max_steps, randomize, randomize_width, secondary, secondary_threshold)
  @retry_wait = wait
  super(title, wait, timeout, forever, max_steps, randomize, randomize_width, secondary, secondary_threshold)
  @next_time = @start + @retry_wait
end

def naive_next_time(retry_next_times)

def naive_next_time(retry_next_times)
  current_time + randomize(@retry_wait)
end