Parent

Files

RightAws::RightAwsBase

Constants

AMAZON_PROBLEMS

Text, if found in an error message returned by AWS, indicates that this may be a transient error. Transient errors are automatically retried with exponential back-off.

RAISE_ON_TIMEOUT_ON_ACTIONS

Raise an exception if a timeout occures while an API call is in progress. This helps to avoid a duplicate resources creation when Amazon hangs for some time and RightHttpConnection is forced to use retries to get a response from it.

If an API call action is in the list then no attempts to retry are performed.

Public Class Methods

amazon_problems() click to toggle source

Returns a list of Amazon service responses which are known to be transient problems. We have to re-request if we get any of them, because the problem will probably disappear. By default this method returns the same value as the AMAZON_PROBLEMS const.

# File lib/awsbase/right_awsbase.rb, line 211
def self.amazon_problems
  @@amazon_problems
end
amazon_problems=(problems_list) click to toggle source

Sets the list of Amazon side problems. Use in conjunction with the getter to append problems.

# File lib/awsbase/right_awsbase.rb, line 217
def self.amazon_problems=(problems_list)
  @@amazon_problems = problems_list
end
raise_on_timeout_on_actions() click to toggle source
# File lib/awsbase/right_awsbase.rb, line 237
def self.raise_on_timeout_on_actions
  @@raise_on_timeout_on_actions
end
raise_on_timeout_on_actions=(actions_list) click to toggle source
# File lib/awsbase/right_awsbase.rb, line 241
def self.raise_on_timeout_on_actions=(actions_list)
  @@raise_on_timeout_on_actions = actions_list
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.