class Tasko::RedisEngine::KVStoreProtocol

Defined in:

redis/redis.cr

Constructors

Instance Method Summary

Instance methods inherited from class Tasko::KVStore::Protocol

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

Constructor Detail

def self.new(engine : RedisEngine) #

[View source]

Instance Method Detail

def get(key : String) : String #

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

[View source]
def lrange(key : String, from : Int32, to : Int32) : Array(String) #

[View source]
def lrem(key : String, count : Int32, value : String) : Int64 #

[View source]
def rpoplpush(source : String, destination : String) : String | Nil #

[View source]
def rpush(key : String, value : String) : Int64 #

[View source]
def sadd(key : String, value : String) : Int64 #

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

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

[View source]
def sismember(key : String, value : String) : Bool #

[View source]
def smembers(key : String) : Array(String) #

[View source]
def srem(key : String, value : String) : Int64 #

[View source]