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