Module: ActiveSupport::Cache::ThreadSafety
- Defined in:
- lib/active_support/cache.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#delete(key, options = nil) ⇒ Object
:nodoc:.
-
#delete_matched(matcher, options = nil) ⇒ Object
:nodoc:.
-
#read(key, options = nil) ⇒ Object
:nodoc:.
-
#write(key, value, options = nil) ⇒ Object
:nodoc:.
Instance Method Details
#delete(key, options = nil) ⇒ Object
:nodoc:
130 131 132 |
# File 'lib/active_support/cache.rb', line 130 def delete(key, = nil) #:nodoc: @mutex.synchronize { super } end |
#delete_matched(matcher, options = nil) ⇒ Object
:nodoc:
134 135 136 |
# File 'lib/active_support/cache.rb', line 134 def delete_matched(matcher, = nil) #:nodoc: @mutex.synchronize { super } end |
#read(key, options = nil) ⇒ Object
:nodoc:
122 123 124 |
# File 'lib/active_support/cache.rb', line 122 def read(key, = nil) #:nodoc: @mutex.synchronize { super } end |
#write(key, value, options = nil) ⇒ Object
:nodoc:
126 127 128 |
# File 'lib/active_support/cache.rb', line 126 def write(key, value, = nil) #:nodoc: @mutex.synchronize { super } end |