Class: AWS::Flow::ActivityClient Private

Inherits:
Object
  • Object
show all
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.

API:

  • private

Instance Method Summary collapse

Instance Method Details

#data_converterObject

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.

API:

  • private



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.

Parameters:

  • The data converter to set.

API:

  • private



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.

Parameters:

API:

  • private



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