class ThreadSafe::SynchronizedCacheBackend
Public Instance Methods
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 8 def [](key) synchronize { super } end
WARNING: Mutex_m is a non-reentrant lock, so the synchronized methods are not allowed to call each other.
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#[]
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 12 def []=(key, value) synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#[]=
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 60 def clear synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#clear
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 24 def compute(key) synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#compute
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 16 def compute_if_absent(key) synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#compute_if_absent
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 20 def compute_if_present(key) synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#compute_if_present
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 52 def delete(key) synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#delete
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 56 def delete_pair(key, value) synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#delete_pair
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 40 def get_and_set(key, value) synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#get_and_set
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 68 def get_or_default(key, default_value) synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#get_or_default
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 44 def key?(key) synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#key?
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 28 def merge_pair(key, value) synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#merge_pair
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 36 def replace_if_exists(key, new_value) synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#replace_if_exists
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 32 def replace_pair(key, old_value, new_value) synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#replace_pair
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 64 def size synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#size
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 48 def value?(value) synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#value?
Private Instance Methods
Source
# File lib/thread_safe/synchronized_cache_backend.rb, line 73 def dupped_backend synchronize { super } end
Calls superclass method
ThreadSafe::NonConcurrentCacheBackend#dupped_backend