module

Mosquito::Backend::ClassMethods

Instance methods

delete(key : String, in ttl : Int64 = 0) : Nil
Source
delete(key : String, in ttl : Time::Span) : Nil
Source
expires_in(key : String) : Int64
Source
flush
Source
get(key : String, field : String) : String | Nil
Source
increment(key : String, field : String, by value : Int32) : Int64
Source
increment(key : String, field : String) : Int64
Source
list_queues
Source
list_runners
Source
lock?(key : String, value : String, ttl : Time::Span) : Bool
Source
retrieve(key : String) : Hash(String, String)
Source
set(key : String, field : String, value : String) : String
Source
store(key : String, value : Hash(String, String)) : Nil
Source
unlock(key : String, value : String) : Nil
Source