Class: Flipper::Adapters::Dalli

Inherits:
CacheBase
  • Object
show all
Defined in:
lib/flipper/adapters/dalli.rb

Overview

Public: Adapter that wraps another adapter with the ability to cache adapter calls in Memcached using the Dalli gem.

Instance Method Summary collapse

Constructor Details

#initialize(adapter, cache, ttl = 0, prefix: nil) ⇒ Dalli

Returns a new instance of Dalli.



10
11
12
# File 'lib/flipper/adapters/dalli.rb', line 10

def initialize(adapter, cache, ttl = 0, prefix: nil)
  super
end