vendor/bundle/ruby/1.8/gems/Ruby-MemCache-0.0.1/lib/memcache.rb
### Return memory maps from the specified +servers+ (not supported on all
### platforms)
Return memory maps from the specified +servers+ (not supported on all
platforms)
Return memory maps from the specified + servers + ( not supported on all platforms )
def server_map_stats( servers=@servers )
		asvrs = servers.select {|svr| svr.alive? }
		cmds = self.make_command_map( "stats maps", asvrs )
		return self.add_stat( :server_map_stats ) do
			self.send( cmds )
		end
	rescue MemCache::ServerError => err
		self.debug_msg "%p doesn't support 'stats maps'" % err.server
		return {}
	end
def server_map_stats ( servers = @servers ) asvrs = servers . select { | svr | svr . alive? } cmds = self . make_command_map ( "stats maps" , asvrs ) return self . add_stat ( :server_map_stats ) do self . send ( cmds ) end rescue MemCache :: ServerError => err self . debug_msg "%p doesn't support 'stats maps'" % err . server return { } end
Return memory maps from the specified +servers+ (not supported on all
platforms)
Return memory maps from the specified + servers + ( not supported on all platforms )
# Build commandset for servers that are alive # Send them in parallel
servers