class

Tasko::MemoryEngine::KVStoreProtocol

Inherits Tasko::KVStore::Protocol / Reference / Object

Constructors

new(engine : MemoryEngine)
Source

Instance methods

get(key : String) : String
Source
llen(key : String) : Int64
Source
lrange(key : String, from : Int32, to : Int32) : Array(String)
Source
lrem(key : String, count : Int32, value : String) : Int64
Source
rpoplpush(source : String, destination : String) : String | Nil
Source
rpush(key : String, value : String) : Int64
Source
sadd(key : String, value : String) : Int64
Source
scard(key : String) : Int64
Source
set(key : String, value : String) : Nil
Source
sismember(key : String, value : String) : Bool
Source
smembers(key : String) : Array(String)
Source
srem(key : String, value : String) : Int64
Source