vendor/bundle/ruby/1.8/gems/Ruby-MemCache-0.0.1/lib/memcache.rb
### Return a hash of statistics hashes for each of the specified +servers+.
Return a hash of statistics hashes for each of the specified +servers+.
Return a hash of statistics hashes for each of the specified + servers + .
def server_stats( servers=@servers )
		asvrs = servers.select {|svr| svr.alive?}
		cmds = self.make_command_map( "stats", asvrs )
		return self.add_stat( :server_stats ) do
			self.send( cmds ) do |svr,reply|
				self.parse_stats( reply )
			end
		end
	end
def server_stats ( servers = @servers ) asvrs = servers . select { | svr | svr . alive? } cmds = self . make_command_map ( "stats" , asvrs ) return self . add_stat ( :server_stats ) do self . send ( cmds ) do | svr , reply | self . parse_stats ( reply ) end end end
Return a hash of statistics hashes for each of the specified +servers+.
Return a hash of statistics hashes for each of the specified + servers + .
# Build commandset for servers that are alive # Send them in parallel
servers