Author: Daniele Alessandri (suppakilla@gmail.com)
Author: Lorenzo Castelli (lcastelli@gmail.com)
Inheritance: implements Predis\Cluster\Distributor\DistributorInterface, implements Predis\Cluster\Hash\HashGeneratorInterface
Example #1
0
 /**
  * @param mixed $nodeHashCallback Callback returning a string used to calculate the hash of nodes.
  */
 public function __construct($nodeHashCallback = null)
 {
     parent::__construct($this::DEFAULT_REPLICAS, $nodeHashCallback);
 }