Like MemoryStore, but thread-safe.

Methods
Public Class methods
new()
   # File activesupport/lib/active_support/cache/synchronized_memory_store.rb, line 5
5:       def initialize
6:         super
7:         @guard = Monitor.new
8:       end
Public Instance methods
clear()
    # File activesupport/lib/active_support/cache/synchronized_memory_store.rb, line 42
42:       def clear
43:         @guard.synchronize { super }
44:       end
decrement(key, amount = 1)
    # File activesupport/lib/active_support/cache/synchronized_memory_store.rb, line 38
38:       def decrement(key, amount = 1)
39:         @guard.synchronize { super }
40:       end
delete(name, options = nil)
    # File activesupport/lib/active_support/cache/synchronized_memory_store.rb, line 22
22:       def delete(name, options = nil)
23:         @guard.synchronize { super }
24:       end
delete_matched(matcher, options = nil)
    # File activesupport/lib/active_support/cache/synchronized_memory_store.rb, line 26
26:       def delete_matched(matcher, options = nil)
27:         @guard.synchronize { super }
28:       end
exist?(name,options = nil)
    # File activesupport/lib/active_support/cache/synchronized_memory_store.rb, line 30
30:       def exist?(name,options = nil)
31:         @guard.synchronize { super }
32:       end
fetch(key, options = {})
    # File activesupport/lib/active_support/cache/synchronized_memory_store.rb, line 10
10:       def fetch(key, options = {})
11:         @guard.synchronize { super }
12:       end
increment(key, amount = 1)
    # File activesupport/lib/active_support/cache/synchronized_memory_store.rb, line 34
34:       def increment(key, amount = 1)
35:         @guard.synchronize { super }
36:       end
read(name, options = nil)
    # File activesupport/lib/active_support/cache/synchronized_memory_store.rb, line 14
14:       def read(name, options = nil)
15:         @guard.synchronize { super }
16:       end
write(name, value, options = nil)
    # File activesupport/lib/active_support/cache/synchronized_memory_store.rb, line 18
18:       def write(name, value, options = nil)
19:         @guard.synchronize { super }
20:       end