Class: Temporalio::Bridge::RetryConfig Private

Inherits:
Object
  • Object
show all
Defined in:
lib/temporalio/bridge/retry_config.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(initial_interval_millis:, randomization_factor:, multiplier:, max_interval_millis:, max_retries:, max_elapsed_time_millis:) ⇒ RetryConfig

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of RetryConfig.



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/temporalio/bridge/retry_config.rb', line 7

def initialize(
  initial_interval_millis:,
  randomization_factor:,
  multiplier:,
  max_interval_millis:,
  max_retries:,
  max_elapsed_time_millis:
)
  @initial_interval_millis = initial_interval_millis
  @randomization_factor = randomization_factor
  @multiplier = multiplier
  @max_interval_millis = max_interval_millis
  @max_retries = max_retries
  @max_elapsed_time_millis = max_elapsed_time_millis
end

Instance Attribute Details

#initial_interval_millisObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4
5
6
# File 'lib/temporalio/bridge/retry_config.rb', line 4

def initial_interval_millis
  @initial_interval_millis
end

#max_elapsed_time_millisObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4
5
6
# File 'lib/temporalio/bridge/retry_config.rb', line 4

def max_elapsed_time_millis
  @max_elapsed_time_millis
end

#max_interval_millisObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4
5
6
# File 'lib/temporalio/bridge/retry_config.rb', line 4

def max_interval_millis
  @max_interval_millis
end

#max_retriesObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4
5
6
# File 'lib/temporalio/bridge/retry_config.rb', line 4

def max_retries
  @max_retries
end

#multiplierObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4
5
6
# File 'lib/temporalio/bridge/retry_config.rb', line 4

def multiplier
  @multiplier
end

#randomization_factorObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4
5
6
# File 'lib/temporalio/bridge/retry_config.rb', line 4

def randomization_factor
  @randomization_factor
end