Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Predis
Cluster
Distributor
DistributorInterface
add
Predis\Cluster\Distributor\DistributorInterface::add PHP Метод
Документация по интерфейсу DistributorInterface
Показать файл
Открыть проект
add()
публичный
Метод
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