vendor/bundle/ruby/1.8/gems/Ruby-MemCache-0.0.1/lib/memcache.rb
### Reset statistics on the given +servers+.
Reset statistics on the given +servers+.
Reset statistics on the given + servers + .
def server_reset_stats( servers=@servers )
		asvrs = servers.select {|svr| svr.alive? }
		cmds = self.make_command_map( "stats reset", asvrs )
		return self.add_stat( :server_reset_stats ) do
			self.send( cmds ) do |svr,reply|
				reply.rstrip == "RESET"
			end
		end
	end
def server_reset_stats ( servers = @servers ) asvrs = servers . select { | svr | svr . alive? } cmds = self . make_command_map ( "stats reset" , asvrs ) return self . add_stat ( :server_reset_stats ) do self . send ( cmds ) do | svr , reply | reply . rstrip == "RESET" end end end
Reset statistics on the given +servers+.
Reset statistics on the given + servers + .
# Build commandset for servers that are alive # Send them in parallel
servers