PHP Class Predis\Cluster\PredisStrategy

Author: Daniele Alessandri ([email protected])
Inheritance: extends ClusterStrategy
Afficher le fichier Open project: tillkruss/redis-object-cache Class Usage Examples

Protected Properties

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

Méthodes publiques

Méthode Description
__construct ( Predis\Cluster\Distributor\DistributorInterface $distributor = null )
getDistributor ( )
getSlotByKey ( $key )

Méthodes protégées

Méthode Description
checkSameSlotForKeys ( array $keys )

Method Details

__construct() public méthode

public __construct ( Predis\Cluster\Distributor\DistributorInterface $distributor = null )
$distributor Predis\Cluster\Distributor\DistributorInterface Optional distributor instance.

checkSameSlotForKeys() protected méthode

protected checkSameSlotForKeys ( array $keys )
$keys array

getDistributor() public méthode

public getDistributor ( )

getSlotByKey() public méthode

public getSlotByKey ( $key )

Property Details

$distributor protected_oe property

protected $distributor