Sharded

Undocumented in source.

Constructors

this
this(List!(S) shards)
Undocumented in source.
this
this(List!(S) shards, Hashing algo)
Undocumented in source.
this
this(List!(S) shards, Pattern tagPattern)
Undocumented in source.
this
this(List!(S) shards, Hashing algo, Pattern tagPattern)
Undocumented in source.

Members

Functions

getAllShardInfo
S[] getAllShardInfo()
Undocumented in source. Be warned that the author may not have intended to support it.
getAllShards
R[] getAllShards()
Undocumented in source. Be warned that the author may not have intended to support it.
getKeyTag
string getKeyTag(string key)

A key tag is a special pattern inside a key that, if preset, is the only part of the key hashed in order to select the server for this key. @see <a href="http://redis.io/topics/partitioning">partitioning</a> @param key @return The tag if it exists, or the original key

getShard
R getShard(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
getShard
R getShard(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
getShardInfo
S getShardInfo(const(ubyte)[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
getShardInfo
S getShardInfo(string key)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta