instance method
close
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
close()
Close the connection to the memcached server targeted by this object. The server is not considered dead.
Source
# File activesupport/lib/active_support/vendor/memcache-client-1.7.4/memcache.rb, line 1013
def close
@sock.close if @sock && !@sock.closed?
@sock = nil
@retry = nil
@status = "NOT CONNECTED"
end
Defined in activesupport/lib/active_support/vendor/memcache-client-1.7.4/memcache.rb line 1013
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in MemCache::Server