Class: Waves::Caches::SynchronizedMemcached

Inherits:
Synchronized show all
Defined in:
lib/waves/caches/memcached.rb

Overview

A thread-safe version of Memcached.

Instance Method Summary collapse

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