Current File : //proc/self/root/kunden/usr/share/gems/doc/memcache-client-1.8.5/ri/MemCache/get_multi-i.ri |
U:RDoc::AnyMethod[iI"get_multi:ETI"MemCache#get_multi;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"GRetrieves multiple values from memcached in parallel, if possible.;To:RDoc::Markup::BlankLine o;
; [I"FThe memcached protocol supports the ability to retrieve multiple ;TI"Hkeys in a single request. Pass in an array of keys to this method ;TI"and it will:;T@o:RDoc::Markup::List:
@type:NUMBER:@items[o:RDoc::Markup::ListItem:@label0; [o;
; [I"4map the key to the appropriate memcached server;To;;0; [o;
; [I"Isend a single request to each server that has one or more key values;T@o;
; [I"Returns a hash of values.;T@o:RDoc::Markup::Verbatim; [I"cache["a"] = 1
;TI"cache["b"] = 2
;TI":cache.get_multi "a", "b" # => { "a" => 1, "b" => 2 }
;T:@format0o;
; [I"JNote that get_multi assumes the values are marshalled. You can pass ;TI"1in :raw => true to bypass value marshalling.;T@o;; [I"1cache.get_multi('a', 'b', ..., :raw => true);T;0:
@fileI"lib/memcache.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(*keys);T@/FI"
MemCache;TcRDoc::NormalClass00