Like MemoryStore, but thread-safe.
# File lib/active_support/cache/synchronized_memory_store.rb, line 42 def clear @guard.synchronize { super } end
# File lib/active_support/cache/synchronized_memory_store.rb, line 38 def decrement(key, amount = 1) @guard.synchronize { super } end
# File lib/active_support/cache/synchronized_memory_store.rb, line 22 def delete(name, options = nil) @guard.synchronize { super } end
# File lib/active_support/cache/synchronized_memory_store.rb, line 26 def delete_matched(matcher, options = nil) @guard.synchronize { super } end
# File lib/active_support/cache/synchronized_memory_store.rb, line 30 def exist?(name,options = nil) @guard.synchronize { super } end
# File lib/active_support/cache/synchronized_memory_store.rb, line 10 def fetch(key, options = {}) @guard.synchronize { super } end
# File lib/active_support/cache/synchronized_memory_store.rb, line 34 def increment(key, amount = 1) @guard.synchronize { super } end
Generated with the Darkfish Rdoc Generator 2.