public Method

MemCache.reset

Reset the connection to all memcache servers. This should be called if there is a problem with a cache lookup that might have left the connection in a corrupted state.

Source Code

# File active_support/vendor/memcache-client-1.5.0/memcache.rb, line 431
def reset
  @servers.each { |server| server.close }
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.