Interface RedisClient

Index

Properties

Methods

Properties

public command_queue: Array<any>

public connected: boolean

public offline_queue: Array<any>

public retry_backoff: number

public retry_delay: number

public server_info: ServerInfo

Methods

public append(key: string, value: string, callback?: NumCallback)

Parameters

  • key: string
  • value: string
  • callback?: NumCallback optional

public append(args: Array<any>, callback?: ResCallback)

Parameters

public auth(password: string, callback?: ResCallback)

Parameters

public auth(args: Array<any>, callback?: ResCallback)

Parameters

public bgrewriteaof(args: Array<any>, callback?: ResCallback)

Parameters

public bgsave(args: Array<any>, callback?: ResCallback)

Parameters

public bitcount(key: string, callback?: NumCallback)

Parameters

public bitcount(key: string, start: number, end: number, callback?: NumCallback)

Parameters

  • key: string
  • start: number
  • end: number
  • callback?: NumCallback optional

public blpop(args: Array<any>, callback?: ResCallback)

Parameters

public brpop(args: Array<any>, callback?: ResCallback)

Parameters

public brpoplpush(args: Array<any>, callback?: ResCallback)

Parameters

public client(args: Array<any>, callback?: ResCallback)

Parameters

public cluster(args: Array<any>, callback?: ResCallback)

Parameters

public config(args: Array<any>, callback?: ResCallback)

Parameters

public dbsize(args: Array<any>, callback?: ResCallback)

Parameters

public debug(args: Array<any>, callback?: ResCallback)

Parameters

public decr(args: Array<any>, callback?: ResCallback)

Parameters

public decrby(args: Array<any>, callback?: ResCallback)

Parameters

public del(args: Array<any>, callback?: ResCallback)

Parameters

public discard(args: Array<any>, callback?: ResCallback)

Parameters

public dump(args: Array<any>, callback?: ResCallback)

Parameters

public echo(args: Array<any>, callback?: ResCallback)

Parameters

public end()

public eval(args: Array<any>, callback?: ResCallback)

Parameters

public evalsha(args: Array<any>, callback?: ResCallback)

Parameters

public exec(args: Array<any>, callback?: ResCallback)

Parameters

public exists(key: string, value: string, callback?: NumCallback)

Parameters

  • key: string
  • value: string
  • callback?: NumCallback optional

public exists(args: Array<any>, callback?: ResCallback)

Parameters

public expire(args: Array<any>, callback?: ResCallback)

Parameters

public expireat(args: Array<any>, callback?: ResCallback)

Parameters

public flushall(args: Array<any>, callback?: ResCallback)

Parameters

public flushdb(args: Array<any>, callback?: ResCallback)

Parameters

public get(key: string, callback?: StringCallback)

Parameters

public get(args: Array<any>, callback?: ResCallback)

Parameters

public getbit(args: Array<any>, callback?: ResCallback)

Parameters

public getrange(args: Array<any>, callback?: ResCallback)

Parameters

public getset(args: Array<any>, callback?: ResCallback)

Parameters

public hdel(args: Array<any>, callback?: ResCallback)

Parameters

public hexists(args: Array<any>, callback?: ResCallback)

Parameters

public hget(args: Array<any>, callback?: ResCallback)

Parameters

public hgetall(args: Array<any>, callback?: ResCallback)

Parameters

public hincrby(args: Array<any>, callback?: ResCallback)

Parameters

public hkeys(args: Array<any>, callback?: ResCallback)

Parameters

public hlen(args: Array<any>, callback?: ResCallback)

Parameters

public hmget(args: Array<any>, callback?: ResCallback)

Parameters

public hmset(args: Array<any>, callback?: ResCallback)

Parameters

public hset(args: Array<any>, callback?: ResCallback)

Parameters

public hsetnx(args: Array<any>, callback?: ResCallback)

Parameters

public hvals(args: Array<any>, callback?: ResCallback)

Parameters

public incr(args: Array<any>, callback?: ResCallback)

Parameters

public incrby(args: Array<any>, callback?: ResCallback)

Parameters

public info(args: Array<any>, callback?: ResCallback)

Parameters

public keys(args: Array<any>, callback?: ResCallback)

Parameters

public lastsave(args: Array<any>, callback?: ResCallback)

Parameters

public lindex(args: Array<any>, callback?: ResCallback)

Parameters

public linsert(args: Array<any>, callback?: ResCallback)

Parameters

public llen(args: Array<any>, callback?: ResCallback)

Parameters

public lpop(args: Array<any>, callback?: ResCallback)

Parameters

public lpush(args: Array<any>, callback?: ResCallback)

Parameters

public lpushx(args: Array<any>, callback?: ResCallback)

Parameters

public lrange(args: Array<any>, callback?: ResCallback)

Parameters

public lrem(args: Array<any>, callback?: ResCallback)

Parameters

public lset(args: Array<any>, callback?: ResCallback)

Parameters

public ltrim(args: Array<any>, callback?: ResCallback)

Parameters

public mget(args: Array<any>, callback?: ResCallback)

Parameters

public migrate(args: Array<any>, callback?: ResCallback)

Parameters

public monitor(args: Array<any>, callback?: ResCallback)

Parameters

public move(args: Array<any>, callback?: ResCallback)

Parameters

public mset(args: Array<any>, callback?: ResCallback)

Parameters

public msetnx(args: Array<any>, callback?: ResCallback)

Parameters

public multi(args: Array<any>, callback?: ResCallback)

Parameters

public object(args: Array<any>, callback?: ResCallback)

Parameters

public on(channel: string, handler: MessageHandler)

Parameters

public persist(args: Array<any>, callback?: ResCallback)

Parameters

public ping(callback?: NumCallback)

Parameters

public ping(args: Array<any>, callback?: ResCallback)

Parameters

public psubscribe(args: Array<any>, callback?: ResCallback)

Parameters

public publish(channel: string, value: any)

Parameters

  • channel: string
  • value: any

public publish(args: Array<any>, callback?: ResCallback)

Parameters

public punsubscribe(args: Array<any>, callback?: ResCallback)

Parameters

public randomkey(args: Array<any>, callback?: ResCallback)

Parameters

public rename(args: Array<any>, callback?: ResCallback)

Parameters

public renamenx(args: Array<any>, callback?: ResCallback)

Parameters

public restore(args: Array<any>, callback?: ResCallback)

Parameters

public rpop(args: Array<any>, callback?: ResCallback)

Parameters

public rpoplpush(args: Array<any>, callback?: ResCallback)

Parameters

public rpush(args: Array<any>, callback?: ResCallback)

Parameters

public rpushx(args: Array<any>, callback?: ResCallback)

Parameters

public sadd(args: Array<any>, callback?: ResCallback)

Parameters

public save(args: Array<any>, callback?: ResCallback)

Parameters

public scard(args: Array<any>, callback?: ResCallback)

Parameters

public sdiff(args: Array<any>, callback?: ResCallback)

Parameters

public sdiffstore(args: Array<any>, callback?: ResCallback)

Parameters

public select(args: Array<any>, callback?: ResCallback)

Parameters

public set(key: string, value: string, callback?: StringCallback)

Parameters

public set(args: Array<any>, callback?: ResCallback)

Parameters

public setbit(args: Array<any>, callback?: ResCallback)

Parameters

public setex(args: Array<any>, callback?: ResCallback)

Parameters

public setnx(args: Array<any>, callback?: ResCallback)

Parameters

public setrange(args: Array<any>, callback?: ResCallback)

Parameters

public shutdown(args: Array<any>, callback?: ResCallback)

Parameters

public sinter(args: Array<any>, callback?: ResCallback)

Parameters

public sinterstore(args: Array<any>, callback?: ResCallback)

Parameters

public sismember(args: Array<any>, callback?: ResCallback)

Parameters

public slaveof(args: Array<any>, callback?: ResCallback)

Parameters

public smembers(args: Array<any>, callback?: ResCallback)

Parameters

public smove(args: Array<any>, callback?: ResCallback)

Parameters

public sort(args: Array<any>, callback?: ResCallback)

Parameters

public spop(args: Array<any>, callback?: ResCallback)

Parameters

public srandmember(args: Array<any>, callback?: ResCallback)

Parameters

public srem(args: Array<any>, callback?: ResCallback)

Parameters

public strlen(args: Array<any>, callback?: ResCallback)

Parameters

public subscribe(channel: string)

Parameters

  • channel: string

public subscribe(args: Array<any>, callback?: ResCallback)

Parameters

public substr(args: Array<any>, callback?: ResCallback)

Parameters

public sunion(args: Array<any>, callback?: ResCallback)

Parameters

public sunionstore(args: Array<any>, callback?: ResCallback)

Parameters

public sync(args: Array<any>, callback?: ResCallback)

Parameters

public ttl(args: Array<any>, callback?: ResCallback)

Parameters

public type(args: Array<any>, callback?: ResCallback)

Parameters

public unsubscribe(args: Array<any>, callback?: ResCallback)

Parameters

public unwatch(args: Array<any>, callback?: ResCallback)

Parameters

public watch(args: Array<any>, callback?: ResCallback)

Parameters

public zadd(args: Array<any>, callback?: ResCallback)

Parameters

public zcard(args: Array<any>, callback?: ResCallback)

Parameters

public zcount(args: Array<any>, callback?: ResCallback)

Parameters

public zincrby(args: Array<any>, callback?: ResCallback)

Parameters

public zinterstore(args: Array<any>, callback?: ResCallback)

Parameters

public zrange(args: Array<any>, callback?: ResCallback)

Parameters

public zrangebyscore(args: Array<any>, callback?: ResCallback)

Parameters

public zrank(args: Array<any>, callback?: ResCallback)

Parameters

public zrem(args: Array<any>, callback?: ResCallback)

Parameters

public zremrangebyrank(args: Array<any>, callback?: ResCallback)

Parameters

public zremrangebyscore(args: Array<any>, callback?: ResCallback)

Parameters

public zrevrange(args: Array<any>, callback?: ResCallback)

Parameters

public zrevrangebyscore(args: Array<any>, callback?: ResCallback)

Parameters

public zrevrank(args: Array<any>, callback?: ResCallback)

Parameters

public zscore(args: Array<any>, callback?: ResCallback)

Parameters

public zunionstore(args: Array<any>, callback?: ResCallback)

Parameters