class Kiwi::MemcachedStore

Defined in:

kiwi/memcached_store.cr

Constructors

Instance Method Summary

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(memcached : Memcached::Client, expires_in : Time::Span = 5.minutes) #

[View source]

Instance Method Detail

def clear : Store #

[View source]
def delete(key : String) : String | Nil #

[View source]
def expires_in : Time::Span #

[View source]
def get(key : String) : String | Nil #

[View source]
def mset(key : String, val : String, expires_in : UInt32 = 0, version : Int64 = 0) : String #

[View source]
def set(key : String, val : String) : String #

[View source]