Class: Restate::RunRetryConfig

Inherits:
Struct
  • Object
show all
Defined in:
lib/restate/vm.rb

Overview

Exponential retry configuration for run

Instance Attribute Summary collapse

Instance Attribute Details

#initial_intervalObject

Returns the value of attribute initial_interval

Returns:

  • (Object)

    the current value of initial_interval



47
48
49
# File 'lib/restate/vm.rb', line 47

def initial_interval
  @initial_interval
end

#interval_factorObject

Returns the value of attribute interval_factor

Returns:

  • (Object)

    the current value of interval_factor



47
48
49
# File 'lib/restate/vm.rb', line 47

def interval_factor
  @interval_factor
end

#max_attemptsObject

Returns the value of attribute max_attempts

Returns:

  • (Object)

    the current value of max_attempts



47
48
49
# File 'lib/restate/vm.rb', line 47

def max_attempts
  @max_attempts
end

#max_durationObject

Returns the value of attribute max_duration

Returns:

  • (Object)

    the current value of max_duration



47
48
49
# File 'lib/restate/vm.rb', line 47

def max_duration
  @max_duration
end

#max_intervalObject

Returns the value of attribute max_interval

Returns:

  • (Object)

    the current value of max_interval



47
48
49
# File 'lib/restate/vm.rb', line 47

def max_interval
  @max_interval
end