Method: Dalli::Client#close

Defined in:
lib/dalli/client.rb

#closeObject Also known as: reset

Close our connection to each server. If you perform another operation after this, the connections will be re-established.



286
287
288
289
290
291
# File 'lib/dalli/client.rb', line 286

def close
  if @ring
    @ring.servers.each { |s| s.close }
    @ring = nil
  end
end