class Concurrent::Collection::SynchronizedMapBackend
@!visibility private
Public Instance Methods
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 16 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
Concurrent::Collection::NonConcurrentMapBackend#[]
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 20 def []=(key, value) synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#[]=
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 64 def clear synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#clear
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 32 def compute(key) synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#compute
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 24 def compute_if_absent(key) synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#compute_if_absent
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 28 def compute_if_present(key) synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#compute_if_present
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 56 def delete(key) synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#delete
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 60 def delete_pair(key, value) synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#delete_pair
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 48 def get_and_set(key, value) synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#get_and_set
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 72 def get_or_default(key, default_value) synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#get_or_default
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 52 def key?(key) synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#key?
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 36 def merge_pair(key, value) synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#merge_pair
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 44 def replace_if_exists(key, new_value) synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#replace_if_exists
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 40 def replace_pair(key, old_value, new_value) synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#replace_pair
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 68 def size synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#size
Private Instance Methods
Source
# File lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb, line 77 def dupped_backend synchronize { super } end
Calls superclass method
Concurrent::Collection::NonConcurrentMapBackend#dupped_backend