Class: Waves::Caches::SynchronizedMemcached
- Inherits:
-
Synchronized
- Object
- Synchronized
- Waves::Caches::SynchronizedMemcached
- Defined in:
- lib/waves/caches/memcached.rb
Overview
A thread-safe version of Memcached.
Instance Method Summary collapse
-
#initialize(args) ⇒ SynchronizedMemcached
constructor
A new instance of SynchronizedMemcached.
Methods inherited from Synchronized
#[], #[]=, #clear, #delete, #exists?, #fetch, #store, #synchronize
Constructor Details
#initialize(args) ⇒ SynchronizedMemcached
Returns a new instance of SynchronizedMemcached.
49 50 51 |
# File 'lib/waves/caches/memcached.rb', line 49 def initialize( args ) super( Memcached.new( args ) ) end |