class LookupBy::Caching::SafeLRU
Public Class Methods
new(max_size)
click to toggle source
Calls superclass method
LookupBy::Caching::LRU::new
# File lib/lookup_by/caching/safe_lru.rb, line 10 def initialize(max_size) super end
Public Instance Methods
[](key)
click to toggle source
Calls superclass method
LookupBy::Caching::LRU#[]
# File lib/lookup_by/caching/safe_lru.rb, line 14 def [](key) synchronize { super } end
[]=(key, value)
click to toggle source
Calls superclass method
LookupBy::Caching::LRU#[]=
# File lib/lookup_by/caching/safe_lru.rb, line 18 def []=(key, value) synchronize { super } end
clear()
click to toggle source
Calls superclass method
LookupBy::Caching::LRU#clear
# File lib/lookup_by/caching/safe_lru.rb, line 22 def clear synchronize { super } end
count()
click to toggle source
Calls superclass method
LookupBy::Caching::LRU#count
# File lib/lookup_by/caching/safe_lru.rb, line 26 def count synchronize { super } end
delete(key)
click to toggle source
Calls superclass method
LookupBy::Caching::LRU#delete
# File lib/lookup_by/caching/safe_lru.rb, line 30 def delete(key) synchronize { super } end
each()
click to toggle source
Calls superclass method
LookupBy::Caching::LRU#each
# File lib/lookup_by/caching/safe_lru.rb, line 34 def each synchronize { super } end
fetch(key)
click to toggle source
Calls superclass method
LookupBy::Caching::LRU#fetch
# File lib/lookup_by/caching/safe_lru.rb, line 38 def fetch(key) synchronize { super } end
key?(key)
click to toggle source
Calls superclass method
LookupBy::Caching::LRU#key?
# File lib/lookup_by/caching/safe_lru.rb, line 42 def key?(key) synchronize { super } end
size()
click to toggle source
Calls superclass method
LookupBy::Caching::LRU#size
# File lib/lookup_by/caching/safe_lru.rb, line 46 def size synchronize { super } end
to_a()
click to toggle source
Calls superclass method
LookupBy::Caching::LRU#to_a
# File lib/lookup_by/caching/safe_lru.rb, line 50 def to_a synchronize { super } end
to_h()
click to toggle source
Calls superclass method
LookupBy::Caching::LRU#to_h
# File lib/lookup_by/caching/safe_lru.rb, line 54 def to_h synchronize { super } end
values()
click to toggle source
Calls superclass method
LookupBy::Caching::LRU#values
# File lib/lookup_by/caching/safe_lru.rb, line 58 def values synchronize { super } end