PHP 클래스 NaiveDistributor, predis

상속: implements Predis\Cluster\Distributor\DistributorInterface, implements Predis\Cluster\Hash\HashGeneratorInterface
파일 보기 프로젝트 열기: nrk/predis

공개 메소드들

메소드 설명
__construct ( )
add ( $node, $weight = null )
get ( $value )
getByHash ( $hash )
getBySlot ( $slot )
getHashGenerator ( )
getSlot ( $hash )
hash ( $value )
remove ( $node )

메소드 상세

__construct() 공개 메소드

public __construct ( )

add() 공개 메소드

public add ( $node, $weight = null )

get() 공개 메소드

public get ( $value )

getByHash() 공개 메소드

public getByHash ( $hash )

getBySlot() 공개 메소드

public getBySlot ( $slot )

getHashGenerator() 공개 메소드

public getHashGenerator ( )

getSlot() 공개 메소드

public getSlot ( $hash )

hash() 공개 메소드

public hash ( $value )

remove() 공개 메소드

public remove ( $node )