[][src]Module iredismodule::cluster

Cluster related structs and functions

Structs

ClusterNodeInfo

Cluster node info

Functions

get_cluster_size

Return the number of nodes in the cluster, regardless of their state (handshake, noaddress, ...) so that the number of active nodes may actually be smaller, but not greater than this number. If the instance is not in cluster mode, zero is returned.

get_my_cluster_id

Return this node ID

Type Definitions

MsgType

User-defiend cluster msg type