Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Predis
Cluster
Distributor
DistributorInterface
add
Predis\Cluster\Distributor\DistributorInterface::add PHP Method
DistributorInterface Interface Documentation
Show file
Open project: tillkruss/redis-object-cache
add()
public
method
Adds a node to the distributor with an optional weight.
public
add
(
mixed
$node
,
integer
$weight
= null )
$node
mixed
Node object.
$weight
integer
Weight for the node.
public function add($node, $weight = null);
DistributorInterface
add
get
getByHash
getBySlot
getHashGenerator
getSlot
remove