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:
132 133 134 |
# File 'lib/active_support/cache.rb', line 132 def delete(key, = 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, = 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, = 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, = nil) #:nodoc: @mutex.synchronize { super } end |