Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
NaiveDistributor
PHP Class NaiveDistributor, predis
Inheritance:
implements
Predis\Cluster\Distributor\DistributorInterface
,
implements
Predis\Cluster\Hash\HashGeneratorInterface
ファイルを表示
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
)