PHP Class NaiveDistributor, predis

Inheritance: implements Predis\Cluster\Distributor\DistributorInterface, implements Predis\Cluster\Hash\HashGeneratorInterface
Datei anzeigen Open project: nrk/predis

Public Methods

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

Method Details

__construct() public method

public __construct ( )

add() public method

public add ( $node, $weight = null )

get() public method

public get ( $value )

getByHash() public method

public getByHash ( $hash )

getBySlot() public method

public getBySlot ( $slot )

getHashGenerator() public method

public getHashGenerator ( )

getSlot() public method

public getSlot ( $hash )

hash() public method

public hash ( $value )

remove() public method

public remove ( $node )