Current File : //kunden/usr/share/gems/doc/memcache-client-1.8.5/ri/MemCache/with_socket_management-i.ri
U:RDoc::AnyMethod[iI"with_socket_management:ETI"$MemCache#with_socket_management;TF:protectedo:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph;	[I"KGets or creates a socket connected to the given server, and yields it ;TI"Nto the block, wrapped in a mutex synchronization if @multithread is true.;To:RDoc::Markup::BlankLineo;
;	[	I"QIf a socket error (SocketError, SystemCallError, IOError) or protocol error ;TI"L(MemCacheError) is raised by the block, closes the socket, attempts to ;TI"Pconnect again, and retries the block (once).  If an error is again raised, ;TI""reraises it as MemCacheError.;T@o;
;	[	I"NIf unable to connect to the server (or if in the reconnect wait period), ;TI"Mraises MemCacheError.  Note that the socket connect code marks a server ;TI"Qdead for a timeout period, so retrying does not apply to connection attempt ;TI"Kfailures (but does still apply to unexpectedly lost connections etc.).;T:
@fileI"lib/memcache.rb;T:0@omit_headings_from_table_of_contents_below000[I"(server, &block);T@FI"
MemCache;TcRDoc::NormalClass00