Class: Waves::Caches::SynchronizedFile

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

Overview

A thread-safe version of the File-based cache.

Instance Method Summary collapse

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