Class: Cloudkeeper::One::Opennebula::DatastoreHandler

Inherits:
Handler
  • Object
show all
Defined in:
lib/cloudkeeper/one/opennebula/datastore_handler.rb

Constant Summary

Constants inherited from Handler

Handler::API_POLLING_WAIT

Constants included from Helper

Helper::ERRORS

Instance Attribute Summary

Attributes inherited from Handler

#client, #pool

Instance Method Summary collapse

Methods inherited from Handler

#exist?, #find_all, #find_by_id, #find_by_name, #find_one

Methods included from Helper

#decode_error, #handle_opennebula_error

Constructor Details

#initializeDatastoreHandler

Returns a new instance of DatastoreHandler.



5
6
7
8
# File 'lib/cloudkeeper/one/opennebula/datastore_handler.rb', line 5

def initialize
  super
  @pool = OpenNebula::DatastorePool.new client
end