Class: LS4::MDS

Inherits:
Object
  • Object
show all
Defined in:
lib/ls4/service/mds.rb

Defined Under Namespace

Modules: Query

Instance Method Summary collapse

Instance Method Details

#util_locate(key, &cb) ⇒ Object

def delete(key, version=nil, &cb) end



240
241
242
243
244
245
246
247
248
# File 'lib/ls4/service/mds.rb', line 240

def util_locate(key, &cb)
	get_okey(key) {|okey|
		if okey
			cb.call([okey, nil], nil) rescue nil
		else
			cb.call([], nil) rescue nil
		end
	}
end