Class/Module Index [+]

Quicksearch

Rightscale::RightGogridInterface

Constants

DEFAULT_FORMAT
DEFAULT_GOGRID_URL
DEFAULT_VERSION
GOGRID_PROBLEMS

If found in an error message returned by Gogrid, these phrases indicate a transient error. Transient errors are automatically retried with exponential back-off.

Attributes

cache[R]

Cache

connection[R]

RightHttpConnection instance

gogrid_api_key[R]

Current Gogrid API key

gogrid_secret[R]

Current Gogrid secret key

last_errors[RW]

Last Gogrid errors list (used by GogridErrorHandler)

last_request[R]

Last HTTP request object

last_response[R]

Last HTTP response object

logger[RW]

Logger object

params[RW]

Initial params hash

Public Class Methods

bench_gogrid() click to toggle source
# File lib/gogrid_base.rb, line 94
def self.bench_gogrid
  @@bench.service
end
bench_parser() click to toggle source
# File lib/gogrid_base.rb, line 91
def self.bench_parser
  @@bench.parser
end
caching() click to toggle source
# File lib/gogrid_base.rb, line 83
def self.caching
  @@caching
end
caching=(caching) click to toggle source
# File lib/gogrid_base.rb, line 86
def self.caching=(caching)
  @@caching = caching
end
gogrid_problems() click to toggle source

Returns a list of Gogrid 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 GOGRID_PROBLEMS const.

# File lib/gogrid_base.rb, line 78
def self.gogrid_problems
  @@gogrid_problems
end

Public Instance Methods

caching?() click to toggle source

Returns true if the describe_xxx responses are being cached

# File lib/gogrid_base.rb, line 267
def caching?
  @params.key?(:cache) ? @params[:cache] : @@caching
end
multi_thread() click to toggle source

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

# File lib/gogrid_base.rb, line 156
def multi_thread
  @params[:multi_thread]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.