class ActiveJob::Lockable::RedisStore
Public Class Methods
del(cache_key)
click to toggle source
# File lib/activejob/lockable/redis_store.rb, line 17 def del(cache_key) ActiveJob::Lockable.redis.del(cache_key) end
exists?(cache_key)
click to toggle source
# File lib/activejob/lockable/redis_store.rb, line 9 def exists?(cache_key) ActiveJob::Lockable.redis.exists(cache_key) end
set(cache_key, cache_value, options = {})
click to toggle source
# File lib/activejob/lockable/redis_store.rb, line 5 def set(cache_key, cache_value, options = {}) ActiveJob::Lockable.redis.set(cache_key, cache_value, options) end
ttl(cache_key)
click to toggle source
# File lib/activejob/lockable/redis_store.rb, line 13 def ttl(cache_key) ActiveJob::Lockable.redis.ttl(cache_key) end