PHP Class Predis\Cluster\RedisStrategy

Author: Daniele Alessandri ([email protected])
Inheritance: extends ClusterStrategy
Afficher le fichier Open project: nrk/predis

Protected Properties

Свойство Type Description
$hashGenerator

Méthodes publiques

Méthode Description
__construct ( Predis\Cluster\Hash\HashGeneratorInterface $hashGenerator = null )
getDistributor ( )
getSlotByKey ( $key )

Method Details

__construct() public méthode

public __construct ( Predis\Cluster\Hash\HashGeneratorInterface $hashGenerator = null )
$hashGenerator Predis\Cluster\Hash\HashGeneratorInterface Hash generator instance.

getDistributor() public méthode

public getDistributor ( )

getSlotByKey() public méthode

public getSlotByKey ( $key )

Property Details

$hashGenerator protected_oe property

protected $hashGenerator