vendor/bundle/ruby/1.8/gems/Ruby-MemCache-0.0.1/lib/memcache.rb
def mark_dead( reason="Unknown error" )
			@sock.close if @sock && !@sock.closed?
			@sock = nil
			@retry = Time::now + ( 30 + rand(10) )
			@status = "DEAD: %s: Will retry at %s" %
				[ reason, @retry ]
		end
### Mark the server as dead for 30 seconds and close its socket. The
### specified +reason+ will be used to construct an appropriate status
### message.
Mark the server as dead for 30 seconds and close its socket. The
specified +reason+ will be used to construct an appropriate status
message.
Mark the server as dead for 30 seconds and close its socket . The specified + reason + will be used to construct an appropriate status message .
def mark_dead( reason="Unknown error" )
			@sock.close if @sock && !@sock.closed?
			@sock = nil
			@retry = Time::now + ( 30 + rand(10) )
			@status = "DEAD: %s: Will retry at %s" %
				[ reason, @retry ]
		end
def mark_dead ( reason = "Unknown error" ) @sock . close if @sock && ! @sock . closed? @sock = nil @retry = Time :: now + ( 30 + rand ( 10 ) ) @status = "DEAD: %s: Will retry at %s" % [ reason , @retry ] end
Mark the server as dead for 30 seconds and close its socket.
Mark the server as dead for 30 seconds and close its socket .
reason