Module: ActiveSupport::Cache::ThreadSafety

Defined in:
lib/active_support/cache.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#delete(key, options = nil) ⇒ Object

:nodoc:



132
133
134
# File 'lib/active_support/cache.rb', line 132

def delete(key, options = nil) #:nodoc:
  @mutex.synchronize { super }
end

#delete_matched(matcher, options = nil) ⇒ Object

:nodoc:



136
137
138
# File 'lib/active_support/cache.rb', line 136

def delete_matched(matcher, options = nil) #:nodoc:
  @mutex.synchronize { super }
end

#read(key, options = nil) ⇒ Object

:nodoc:



124
125
126
# File 'lib/active_support/cache.rb', line 124

def read(key, options = nil) #:nodoc:
  @mutex.synchronize { super }
end

#write(key, value, options = nil) ⇒ Object

:nodoc:



128
129
130
# File 'lib/active_support/cache.rb', line 128

def write(key, value, options = nil) #:nodoc:
  @mutex.synchronize { super }
end