public __construct ( integer $replicas = self::DEFAULT_REPLICAS, mixed $nodeHashCallback = null ) | ||
$replicas | integer | Number of replicas in the ring. |
$nodeHashCallback | mixed | Callback returning a string used to calculate the hash of nodes. |
public __construct ( integer $replicas = self::DEFAULT_REPLICAS, mixed $nodeHashCallback = null ) | ||
$replicas | integer | Number of replicas in the ring. |
$nodeHashCallback | mixed | Callback returning a string used to calculate the hash of nodes. |