class Kiwi::RedisStore
- Kiwi::RedisStore
- Kiwi::Store
- Reference
- Object
Defined in:
kiwi/redis_store.crConstructors
Instance Method Summary
- #clear : Store
- #delete(key : String) : String | Nil
- #expires_in : Time::Span
- #get(key : String) : String | Nil
- #rset(key : String, val : String, expires : UInt32 = 0) : String
- #set(key : String, val : String) : String
Instance methods inherited from class Kiwi::Store
[](*args)
[],
[]=(*args)
[]=,
clear : Store
clear,
delete(key : String) : String | Nil
delete,
fetch(key : String, &) : String | Nil
fetch,
get(key : String) : String | Nil
get,
set(key : String, val : String) : String
set
Constructor Detail
def self.new(redis : Redis | Redis::PooledClient, expires_in : Time::Span = 5.minutes)
#