Predis\Cluster\Distributor\DistributorInterface::getSlot PHP Method

getSlot() public method

Returns the corresponding slot of a node from the distributor using the computed hash of a key.
public getSlot ( mixed $hash ) : mixed
$hash mixed
return mixed
    public function getSlot($hash);