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:



130
131
132
# File 'lib/active_support/cache.rb', line 130

def delete(key, options = 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, options = 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, options = 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, options = nil) #:nodoc:
  @mutex.synchronize { super }
end