Predis\Cluster\Distributor\KetamaRing::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( mixed $nodeHashCallback = null )
$nodeHashCallback mixed Callback returning a string used to calculate the hash of nodes.
    public function __construct($nodeHashCallback = null)
    {
        parent::__construct($this::DEFAULT_REPLICAS, $nodeHashCallback);
    }