WARNING: Mutex_m is a non-reentrant lock, so the synchronized methods are not allowed to call each other.
# File lib/thread_safe/synchronized_cache_backend.rb, line 7 def [](key) synchronize { super } end
# File lib/thread_safe/synchronized_cache_backend.rb, line 11 def []=(key, value) synchronize { super } end
# File lib/thread_safe/synchronized_cache_backend.rb, line 59 def clear synchronize { super } end
# File lib/thread_safe/synchronized_cache_backend.rb, line 23 def compute(key) synchronize { super } end
# File lib/thread_safe/synchronized_cache_backend.rb, line 15 def compute_if_absent(key) synchronize { super } end
# File lib/thread_safe/synchronized_cache_backend.rb, line 19 def compute_if_present(key) synchronize { super } end
# File lib/thread_safe/synchronized_cache_backend.rb, line 51 def delete(key) synchronize { super } end
# File lib/thread_safe/synchronized_cache_backend.rb, line 55 def delete_pair(key, value) synchronize { super } end
# File lib/thread_safe/synchronized_cache_backend.rb, line 39 def get_and_set(key, value) synchronize { super } end
# File lib/thread_safe/synchronized_cache_backend.rb, line 67 def get_or_default(key, default_value) synchronize { super } end
# File lib/thread_safe/synchronized_cache_backend.rb, line 43 def key?(key) synchronize { super } end
# File lib/thread_safe/synchronized_cache_backend.rb, line 27 def merge_pair(key, value) synchronize { super } end
# File lib/thread_safe/synchronized_cache_backend.rb, line 35 def replace_if_exists(key, new_value) synchronize { super } end
# File lib/thread_safe/synchronized_cache_backend.rb, line 31 def replace_pair(key, old_value, new_value) synchronize { super } end
Generated with the Darkfish Rdoc Generator 2.