Class: SDBTools::MeasuredSdbInterface
- Inherits:
-
Aws::SdbInterface
- Object
- Aws::SdbInterface
- SDBTools::MeasuredSdbInterface
- Defined in:
- lib/sdbtools/measured_sdb_interface.rb
Instance Method Summary collapse
- #create_domain(*args, &block) ⇒ Object
- #delete_domain(*args, &block) ⇒ Object
- #get_attributes(*args, &block) ⇒ Object
- #list_domains(*args, &block) ⇒ Object
- #put_attributes(*args, &block) ⇒ Object
- #query(*args, &block) ⇒ Object
- #select(*args, &block) ⇒ Object
Instance Method Details
#create_domain(*args, &block) ⇒ Object
6 7 8 9 10 |
# File 'lib/sdbtools/measured_sdb_interface.rb', line 6 def create_domain(*args, &block) Transaction.open("create_domain") do |t| t.measure_aws_call{super(*args, &block)} end end |
#delete_domain(*args, &block) ⇒ Object
12 13 14 15 16 |
# File 'lib/sdbtools/measured_sdb_interface.rb', line 12 def delete_domain(*args, &block) Transaction.open("delete_domain") do |t| t.measure_aws_call{super(*args, &block)} end end |
#get_attributes(*args, &block) ⇒ Object
30 31 32 33 34 |
# File 'lib/sdbtools/measured_sdb_interface.rb', line 30 def get_attributes(*args, &block) Transaction.open("get_attributes") do |t| t.measure_aws_call{super(*args, &block)} end end |
#list_domains(*args, &block) ⇒ Object
18 19 20 21 22 |
# File 'lib/sdbtools/measured_sdb_interface.rb', line 18 def list_domains(*args, &block) Transaction.open("list_domains") do |t| t.measure_aws_call{super(*args, &block)} end end |
#put_attributes(*args, &block) ⇒ Object
24 25 26 27 28 |
# File 'lib/sdbtools/measured_sdb_interface.rb', line 24 def put_attributes(*args, &block) Transaction.open("put_attributes") do |t| t.measure_aws_call{super(*args, &block)} end end |
#query(*args, &block) ⇒ Object
42 43 44 45 46 |
# File 'lib/sdbtools/measured_sdb_interface.rb', line 42 def query(*args, &block) Transaction.open("query") do |t| t.measure_aws_call{super(*args, &block)} end end |
#select(*args, &block) ⇒ Object
36 37 38 39 40 |
# File 'lib/sdbtools/measured_sdb_interface.rb', line 36 def select(*args, &block) Transaction.open("select #{args.first}") do |t| t.measure_aws_call{super(*args, &block)} end end |