__construct() 공개 메소드

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.
예제 #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);
 }