class Sequel::Plugins::QueryCache::DalliDriver
Public Instance Methods
del(key)
click to toggle source
# File lib/sequel-query-cache/driver/dalli.rb, line 5 def del(key) store.delete(key) end
expire(key, time)
click to toggle source
# File lib/sequel-query-cache/driver/dalli.rb, line 9 def expire(key, time) if time > 0 store.touch(key, time) else store.delete(key) end end