PHP Class Predis\Cluster\RedisStrategy

Author: Daniele Alessandri ([email protected])
Inheritance: extends ClusterStrategy
Datei anzeigen Open project: nrk/predis

Protected Properties

Property Type Description
$hashGenerator

Public Methods

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

Method Details

__construct() public method

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

getDistributor() public method

public getDistributor ( )

getSlotByKey() public method

public getSlotByKey ( $key )

Property Details

$hashGenerator protected_oe property

protected $hashGenerator