module Mosquito::Backend::ClassMethods

Defined in:

mosquito/backend.cr

Instance Method Summary

Instance Method Detail

abstract def delete(key : String, in ttl : Int64 = 0) : Nil #

[View source]
abstract def delete(key : String, in ttl : Time::Span) : Nil #

[View source]
abstract def expires_in(key : String) : Int64 #

[View source]
abstract def flush : Nil #

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

[View source]
abstract def increment(key : String, field : String, by value : Int32) : Int64 #

[View source]
abstract def increment(key : String, field : String) : Int64 #

[View source]
abstract def list_queues : Array(String) #

[View source]
abstract def list_runners : Array(String) #

[View source]
abstract def lock?(key : String, value : String, ttl : Time::Span) : Bool #

[View source]
abstract def retrieve(key : String) : Hash(String, String) #

[View source]
abstract def set(key : String, field : String, value : String) : String #

[View source]
abstract def store(key : String, value : Hash(String, String)) : Nil #

[View source]
abstract def unlock(key : String, value : String) : Nil #

[View source]