Class
Cache
In:
lib/thread_safe/cache.rb
Parent:
ConcurrentCacheBackend
Methods
[]
each_key
each_value
empty?
fetch
fetch_or_store
get
index
key
keys
marshal_dump
marshal_load
new
put_if_absent
size
value?
values
External Aliases
put
->
:
Public Class methods
new
(options = nil, &block)
Public Instance methods
[]
(key)
each_key
() {|k| ...}
each_value
() {|v| ...}
empty?
()
fetch
(key, default_value = NULL) {|key| ...}
fetch_or_store
(key, default_value = NULL) {|key| ...}
get
(key)
Alias for #[]
index
(value)
Alias for
key
key
(value)
keys
()
marshal_dump
()
marshal_load
(hash)
put_if_absent
(key, value)
size
()
value?
(value)
values
()
[Validate]