ShardedRedis

Undocumented in source.

Constructors

this
this(List!(RedisShardInfo) shards)
Undocumented in source.
this
this(List!(RedisShardInfo) shards, Hashing algo)
Undocumented in source.
this
this(List!(RedisShardInfo) shards, Pattern keyTagPattern)
Undocumented in source.
this
this(List!(RedisShardInfo) shards, Hashing algo, Pattern keyTagPattern)
Undocumented in source.

Members

Functions

bitcount
Long bitcount(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
bitcount
Long bitcount(string key, long start, long end)
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
del
Long del(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
dump
const(ubyte)[] dump(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
echo
string echo(string string)
Undocumented in source. Be warned that the author may not have intended to support it.
exists
bool exists(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
expire
Long expire(string key, int seconds)
Undocumented in source. Be warned that the author may not have intended to support it.
expireAt
Long expireAt(string key, long unixTime)
Undocumented in source. Be warned that the author may not have intended to support it.
get
string get(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
getbit
bool getbit(string key, long offset)
Undocumented in source. Be warned that the author may not have intended to support it.
move
Long move(string key, int dbIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
persist
Long persist(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
pexpire
Long pexpire(string key, long milliseconds)
Undocumented in source. Be warned that the author may not have intended to support it.
pexpireAt
Long pexpireAt(string key, long millisecondsTimestamp)
Undocumented in source. Be warned that the author may not have intended to support it.
pfadd
Long pfadd(string key, string[] elements)
Undocumented in source. Be warned that the author may not have intended to support it.
pfcount
Long pfcount(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
pttl
Long pttl(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
resetState
void resetState()
Undocumented in source. Be warned that the author may not have intended to support it.
restore
string restore(string key, int ttl, const(ubyte)[] serializedValue)
Undocumented in source. Be warned that the author may not have intended to support it.
restoreReplace
string restoreReplace(string key, int ttl, const(ubyte)[] serializedValue)
Undocumented in source. Be warned that the author may not have intended to support it.
set
string set(string key, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
set
string set(string key, string value, SetParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
setDataSource
void setDataSource(ShardedRedisPool shardedRedisPool)
Undocumented in source. Be warned that the author may not have intended to support it.
setbit
bool setbit(string key, long offset, bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
setbit
bool setbit(string key, long offset, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
strlen
Long strlen(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
touch
Long touch(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
ttl
Long ttl(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
type
string type(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
unlink
Long unlink(string key)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

dataSource
ShardedRedisPool dataSource;
Undocumented in source.

Inherited Members

From BinaryShardedRedis

disconnect
void disconnect()
Undocumented in source. Be warned that the author may not have intended to support it.
create
Redis create(RedisShardInfo shard)
Undocumented in source. Be warned that the author may not have intended to support it.
set
string set(const(ubyte)[] key, const(ubyte)[] value)
Undocumented in source. Be warned that the author may not have intended to support it.
set
string set(const(ubyte)[] key, const(ubyte)[] value, SetParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
get
const(ubyte)[] get(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
exists
bool exists(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
type
string type(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
dump
const(ubyte)[] dump(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
restore
string restore(const(ubyte)[] key, int ttl, const(ubyte)[] serializedValue)
Undocumented in source. Be warned that the author may not have intended to support it.
restoreReplace
string restoreReplace(const(ubyte)[] key, int ttl, const(ubyte)[] serializedValue)
Undocumented in source. Be warned that the author may not have intended to support it.
expire
Long expire(const(ubyte)[] key, int seconds)
Undocumented in source. Be warned that the author may not have intended to support it.
pexpire
Long pexpire(const(ubyte)[] key, long milliseconds)
Undocumented in source. Be warned that the author may not have intended to support it.
expireAt
Long expireAt(const(ubyte)[] key, long unixTime)
Undocumented in source. Be warned that the author may not have intended to support it.
pexpireAt
Long pexpireAt(const(ubyte)[] key, long millisecondsTimestamp)
Undocumented in source. Be warned that the author may not have intended to support it.
ttl
Long ttl(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
pttl
Long pttl(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
touch
Long touch(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
getSet
const(ubyte)[] getSet(const(ubyte)[] key, const(ubyte)[] value)
Undocumented in source. Be warned that the author may not have intended to support it.
setnx
Long setnx(const(ubyte)[] key, const(ubyte)[] value)
Undocumented in source. Be warned that the author may not have intended to support it.
setex
string setex(const(ubyte)[] key, int seconds, const(ubyte)[] value)
Undocumented in source. Be warned that the author may not have intended to support it.
psetex
string psetex(const(ubyte)[] key, long milliseconds, const(ubyte)[] value)
Undocumented in source. Be warned that the author may not have intended to support it.
decrBy
Long decrBy(const(ubyte)[] key, long decrement)
Undocumented in source. Be warned that the author may not have intended to support it.
decr
Long decr(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
del
Long del(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
unlink
Long unlink(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
incrBy
Long incrBy(const(ubyte)[] key, long increment)
Undocumented in source. Be warned that the author may not have intended to support it.
incrByFloat
Double incrByFloat(const(ubyte)[] key, double increment)
Undocumented in source. Be warned that the author may not have intended to support it.
strlen
Long strlen(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
persist
Long persist(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
setbit
bool setbit(const(ubyte)[] key, long offset, bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
setbit
bool setbit(const(ubyte)[] key, long offset, const(ubyte)[] value)
Undocumented in source. Be warned that the author may not have intended to support it.
getbit
bool getbit(const(ubyte)[] key, long offset)
Undocumented in source. Be warned that the author may not have intended to support it.
setrange
Long setrange(const(ubyte)[] key, long offset, const(ubyte)[] value)
Undocumented in source. Be warned that the author may not have intended to support it.
getrange
const(ubyte)[] getrange(const(ubyte)[] key, long startOffset, long endOffset)
Undocumented in source. Be warned that the author may not have intended to support it.
move
Long move(const(ubyte)[] key, int dbIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
echo
const(ubyte)[] echo(const(ubyte)[] arg)
Undocumented in source. Be warned that the author may not have intended to support it.
bitcount
Long bitcount(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
bitcount
Long bitcount(const(ubyte)[] key, long start, long end)
Undocumented in source. Be warned that the author may not have intended to support it.
pfadd
Long pfadd(const(ubyte)[] key, const(ubyte)[][] elements)
Undocumented in source. Be warned that the author may not have intended to support it.
pfcount
Long pfcount(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.

From RedisCommands

set
string set(string key, string value)
Undocumented in source.
set
string set(string key, string value, SetParams params)
Undocumented in source.
get
string get(string key)
Undocumented in source.
exists
bool exists(string key)
Undocumented in source.
persist
Long persist(string key)
Undocumented in source.
type
string type(string key)
Undocumented in source.
dump
const(ubyte)[] dump(string key)
Undocumented in source.
restore
string restore(string key, int ttl, const(ubyte)[] serializedValue)
Undocumented in source.
restoreReplace
string restoreReplace(string key, int ttl, const(ubyte)[] serializedValue)
Undocumented in source.
expire
Long expire(string key, int seconds)
Undocumented in source.
pexpire
Long pexpire(string key, long milliseconds)
Undocumented in source.
expireAt
Long expireAt(string key, long unixTime)
Undocumented in source.
pexpireAt
Long pexpireAt(string key, long millisecondsTimestamp)
Undocumented in source.
ttl
Long ttl(string key)
Undocumented in source.
pttl
Long pttl(string key)
Undocumented in source.
touch
Long touch(string key)
Undocumented in source.
setbit
bool setbit(string key, long offset, bool value)
Undocumented in source.
setbit
bool setbit(string key, long offset, string value)
Undocumented in source.
getbit
bool getbit(string key, long offset)
Undocumented in source.
strlen
Long strlen(string key)
Undocumented in source.
del
Long del(string key)
Undocumented in source.
unlink
Long unlink(string key)
Undocumented in source.
echo
string echo(string string)
Undocumented in source.
move
Long move(string key, int dbIndex)
Undocumented in source.
bitcount
Long bitcount(string key)
Undocumented in source.
bitcount
Long bitcount(string key, long start, long end)
Undocumented in source.
pfadd
Long pfadd(string key, string[] elements)
Undocumented in source.
pfcount
Long pfcount(string key)
Undocumented in source.

Meta