Class: SinLruRedux::TTL::ThreadSafeCache

Inherits:
Cache show all
Includes:
Util::SafeSync
Defined in:
lib/sin_lru_redux/ttl/thread_safe_cache.rb

Instance Attribute Summary

Attributes inherited from LruRedux::TTL::Cache

#ignore_nil, #max_size, #ttl

Instance Method Summary collapse

Methods included from LruRedux::Util::SafeSync

#[], #[]=, #clear, #count, #delete, #each, #evict, #fetch, #getset, #has_key?, #ignore_nil=, #initialize, #key?, #length, #max_size=, #size, #to_a, #ttl=, #values

Methods inherited from LruRedux::TTL::Cache

#[], #[]=, #clear, #count, #delete, #each, #fetch, #getset, #initialize, #key?, #to_a, #values

Instance Method Details

#expireObject



8
9
10
11
12
# File 'lib/sin_lru_redux/ttl/thread_safe_cache.rb', line 8

def expire
  synchronize do
    super
  end
end