module Mosquito::Backend::ClassMethods
Defined in:
mosquito/backend.crInstance Method Summary
- #delete(key : String, in ttl : Int64 = 0) : Nil
- #delete(key : String, in ttl : Time::Span) : Nil
- #delete_field(key : String, field : String) : Nil
- #expires_in(key : String) : Int64
- #flush : Nil
- #get(key : String, field : String) : String | Nil
- #increment(key : String, field : String, by value : Int32) : Int64
- #increment(key : String, field : String) : Int64
- #list_overseers : Array(String)
- #list_queues : Array(String)
- #lock?(key : String, value : String, ttl : Time::Span) : Bool
- #publish(key : String, value : String) : Nil
- #register_overseer(id : String) : Nil
- #retrieve(key : String) : Hash(String, String)
- #set(key : String, field : String, value : String) : String
- #set(key : String, values : Hash(String, String | Nil) | Hash(String, Nil) | Hash(String, String)) : Nil
- #store(key : String, value : Hash(String, String)) : Nil
- #subscribe(key : String) : Channel(BroadcastMessage)
- #unlock(key : String, value : String) : Nil
Instance Method Detail
abstract
def set(key : String, values : Hash(String, String | Nil) | Hash(String, Nil) | Hash(String, String)) : Nil
#