Module Rightscale::RightSlicehostInterface
In: lib/slicehost_base.rb

Methods

Constants

DEFAULT_SLICEHOST_URL = 'https://api.slicehost.com'
SLICEHOST_PROBLEMS = [ ]   Text, if found in an error message returned by Slicehost, indicates that this may be a transient error. Transient errors are automatically retried with exponential back-off. TODO: gather Slicehost errors here

Attributes

cache  [R]  Cache
connection  [R]  RightHttpConnection instance
last_errors  [RW]  Last Slicehost errors list (used by SlicehostErrorHandler)
last_request  [R]  Last HTTP request object
last_response  [R]  Last HTTP response object
logger  [RW]  Logger object
params  [RW]  Initial params hash
slicehost_pasword  [R]  Current Slicehost API key

Public Class methods

Returns a list of Slicehost 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 SLICEHOST_PROBLEMS const.

Public Instance methods

Returns true if the describe_xxx responses are being cached

Return true if this instance works in multi_thread mode and false otherwise.

[Validate]