vendor/bundle/ruby/1.8/gems/Ruby-MemCache-0.0.1/lib/memcache.rb
### Return malloc stats from the specified +servers+ (not supported on all
### platforms)
Return malloc stats from the specified +servers+ (not supported on all
platforms)
Return malloc stats from the specified + servers + ( not supported on all platforms )
def server_malloc_stats( servers=@servers )
		asvrs = servers.select {|svr| svr.alive? }
		cmds = self.make_command_map( "stats malloc", asvrs )
		return self.add_stat( :server_malloc_stats ) do
			self.send( cmds ) do |svr,reply|
				self.parse_stats( reply )
			end
		end
	rescue MemCache::InternalError
		self.debug_msg( "One or more servers doesn't support 'stats malloc'" )
		return {}
	end
def server_malloc_stats ( servers = @servers ) asvrs = servers . select { | svr | svr . alive? } cmds = self . make_command_map ( "stats malloc" , asvrs ) return self . add_stat ( :server_malloc_stats ) do self . send ( cmds ) do | svr , reply | self . parse_stats ( reply ) end end rescue MemCache :: InternalError self . debug_msg ( "One or more servers doesn't support 'stats malloc'" ) return { } end
Return malloc stats from the specified +servers+ (not supported on all
platforms)
Return malloc stats from the specified + servers + ( not supported on all platforms )
# Build commandset for servers that are alive # Send them in parallel
servers