Class: AWS::Flow::ActivityClient Private
- Inherits:
-
Object
- Object
- AWS::Flow::ActivityClient
- Defined in:
- lib/aws/decider/activity.rb
Overview
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.
Represents an activity client.
Instance Method Summary collapse
-
#data_converter ⇒ Object
private
Gets the data converter for the activity client.
-
#data_converter=(other) ⇒ Object
private
Sets the data converter for the activity client.
-
#exponential_retry(method_name, &block) ⇒ Object
private
Exponentially retries the supplied method with optional settings.
Instance Method Details
#data_converter ⇒ Object
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.
Gets the data converter for the activity client.
324 325 326 |
# File 'lib/aws/decider/activity.rb', line 324 def data_converter @generic_client.data_converter end |
#data_converter=(other) ⇒ Object
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.
Sets the data converter for the activity client.
334 335 336 |
# File 'lib/aws/decider/activity.rb', line 334 def data_converter=(other) @generic_client.data_converter = other end |
#exponential_retry(method_name, &block) ⇒ Object
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.
Exponentially retries the supplied method with optional settings.
347 348 349 |
# File 'lib/aws/decider/activity.rb', line 347 def exponential_retry(method_name, &block) @generic_client.retry(method_name, lambda {|first, time_of_failure, attempts| 1}, block) end |