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
# File lib/slicehost_base.rb, line 63 def self.bench_parser @@bench.parser end
# File lib/slicehost_base.rb, line 66 def self.bench_slicehost @@bench.service end
# File lib/slicehost_base.rb, line 55 def self.caching @@caching end
# File lib/slicehost_base.rb, line 58 def self.caching=(caching) @@caching = caching end
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.
# File lib/slicehost_base.rb, line 50 def self.slicehost_problems @@slicehost_problems end
Returns true if the describe_xxx responses are being cached
# File lib/slicehost_base.rb, line 219 def caching? @params.key?(:cache) ? @params[:cache] : @@caching end
Return true if this instance works in multi_thread mode and false otherwise.
# File lib/slicehost_base.rb, line 125 def multi_thread @params[:multi_thread] end
Generated with the Darkfish Rdoc Generator 2.