PHP Class Predis\Cluster\PredisStrategy

Author: Daniele Alessandri ([email protected])
Inheritance: extends ClusterStrategy
ファイルを表示 Open project: tillkruss/redis-object-cache Class Usage Examples

Protected Properties

Property Type Description
$distributor

Public Methods

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

Protected Methods

Method Description
checkSameSlotForKeys ( array $keys )

Method Details

__construct() public method

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

checkSameSlotForKeys() protected method

protected checkSameSlotForKeys ( array $keys )
$keys array

getDistributor() public method

public getDistributor ( )

getSlotByKey() public method

public getSlotByKey ( $key )

Property Details

$distributor protected_oe property

protected $distributor