PHP Class NaiveDistributor, predis

Inheritance: implements Predis\Cluster\Distributor\DistributorInterface, implements Predis\Cluster\Hash\HashGeneratorInterface
Afficher le fichier Open project: nrk/predis

Méthodes publiques

Méthode Description
__construct ( )
add ( $node, $weight = null )
get ( $value )
getByHash ( $hash )
getBySlot ( $slot )
getHashGenerator ( )
getSlot ( $hash )
hash ( $value )
remove ( $node )

Method Details

__construct() public méthode

public __construct ( )

add() public méthode

public add ( $node, $weight = null )

get() public méthode

public get ( $value )

getByHash() public méthode

public getByHash ( $hash )

getBySlot() public méthode

public getBySlot ( $slot )

getHashGenerator() public méthode

public getHashGenerator ( )

getSlot() public méthode

public getSlot ( $hash )

hash() public méthode

public hash ( $value )

remove() public méthode

public remove ( $node )