class Roma::Storage::TCStorage::TokyoCabinet::HDB
Public Instance Methods
get(key)
click to toggle source
# File lib/roma/storage/tc_storage.rb 12 def get key 13 ret = get_org key 14 if ret == nil && ecode != ENOREC 15 raise StorageException, errmsg(ecode) 16 end 17 ret 18 end
Also aliased as: get_org
out(key)
click to toggle source
# File lib/roma/storage/tc_storage.rb 28 def out key 29 ret = out_org key 30 if ret == false && ecode != ENOREC 31 raise StorageException, errmsg(ecode) 32 end 33 ret 34 end
Also aliased as: out_org
put(key, value)
click to toggle source
# File lib/roma/storage/tc_storage.rb 21 def put key, value 22 ret = put_org key, value 23 raise StorageException, errmsg(ecode) unless ret 24 ret 25 end
Also aliased as: put_org