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