vendor/bundle/ruby/1.8/gems/Ruby-MemCache-0.0.1/lib/memcache.rb
def server_slab_stats( servers=@servers )

		# Build commandset for servers that are alive
		asvrs = servers.select {|svr| svr.alive? }
		cmds = self.make_command_map( "stats slabs", asvrs )

		# Send them in parallel
		return self.add_stat( :server_slab_stats ) do
			self.send( cmds ) do |svr,reply|
				### :TODO: I could parse the results from this further to split
				### out the individual slabs into their own sub-hashes, but this
				### will work for now.
				self.parse_stats( reply )
			end
		end
	end
### Return slab stats from the specified +servers+
Return slab stats from the specified +servers+
Return slab stats from the specified + servers +
def server_slab_stats( servers=@servers )
		asvrs = servers.select {|svr| svr.alive? }
		cmds = self.make_command_map( "stats slabs", asvrs )
		return self.add_stat( :server_slab_stats ) do
			self.send( cmds ) do |svr,reply|
				self.parse_stats( reply )
			end
		end
	end
def server_slab_stats ( servers = @servers ) asvrs = servers . select { | svr | svr . alive? } cmds = self . make_command_map ( "stats slabs" , asvrs ) return self . add_stat ( :server_slab_stats ) do self . send ( cmds ) do | svr , reply | self . parse_stats ( reply ) end end end
Return slab stats from the specified +servers+
Return slab stats from the specified + servers +
# Build commandset for servers that are alive # Send them in parallel ### :TODO: I could parse the results from this further to split ### out the individual slabs into their own sub-hashes, but this ### will work for now.
servers