RedisClusterInfoCache

Constructors

this
this(RedisPoolOptions poolConfig)
Undocumented in source.

Members

Functions

assignSlotToNode
void assignSlotToNode(int slot, HostAndPort targetNode)
Undocumented in source. Be warned that the author may not have intended to support it.
assignSlotsToNode
void assignSlotsToNode(List!(int) targetSlots, HostAndPort targetNode)
Undocumented in source. Be warned that the author may not have intended to support it.
discoverClusterNodesAndSlots
void discoverClusterNodesAndSlots(Redis redis)
Undocumented in source. Be warned that the author may not have intended to support it.
getNode
RedisPool getNode(string nodeKey)
Undocumented in source. Be warned that the author may not have intended to support it.
getNodes
Map!(string, RedisPool) getNodes()
Undocumented in source. Be warned that the author may not have intended to support it.
getShuffledNodesPool
List!(RedisPool) getShuffledNodesPool()
Undocumented in source. Be warned that the author may not have intended to support it.
getSlotPool
RedisPool getSlotPool(int slot)
Undocumented in source. Be warned that the author may not have intended to support it.
renewClusterSlots
void renewClusterSlots(Redis redis)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()

Clear discovered nodes collections and gently release allocated resources

setupNodeIfNotExist
RedisPool setupNodeIfNotExist(HostAndPort node)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

getNodeKey
string getNodeKey(HostAndPort hnp)
Undocumented in source. Be warned that the author may not have intended to support it.
getNodeKey
string getNodeKey(Client client)
Undocumented in source. Be warned that the author may not have intended to support it.
getNodeKey
string getNodeKey(Redis redis)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta