Class: Temporalio::Bridge::RetryConfig Private
- Inherits:
-
Object
- Object
- Temporalio::Bridge::RetryConfig
- 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
- #initial_interval_millis ⇒ Object readonly private
- #max_elapsed_time_millis ⇒ Object readonly private
- #max_interval_millis ⇒ Object readonly private
- #max_retries ⇒ Object readonly private
- #multiplier ⇒ Object readonly private
- #randomization_factor ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(initial_interval_millis:, randomization_factor:, multiplier:, max_interval_millis:, max_retries:, max_elapsed_time_millis:) ⇒ RetryConfig
constructor
private
A new instance of RetryConfig.
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_millis ⇒ Object (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_millis ⇒ Object (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_millis ⇒ Object (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_retries ⇒ Object (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 |
#multiplier ⇒ Object (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_factor ⇒ Object (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 |