Method: Dalli::Client#flush
- Defined in:
- lib/dalli/client.rb
#flush(delay = 0) ⇒ Object Also known as: flush_all
Flush the memcached server, at ‘delay’ seconds in the future. Delay defaults to zero seconds, which means an immediate flush.
302 303 304 |
# File 'lib/dalli/client.rb', line 302 def flush(delay = 0) ring.servers.map { |s| s.request(:flush, delay) } end |