update : 2015.11.03
php.shukuma.com검색:
|
Memcached::addServer(PECL memcached >= 0.1.0) Memcached::addServer — Add a server to the server pool 설명
public bool Memcached::addServer
( string
$host
, int $port
[, int $weight = 0
] )
Memcached::addServer() adds the specified server to the
server pool. No connection is established to the server at this time, but
if you are using consistent key distribution option (via
The same server may appear multiple times in the server pool, because no
duplication checks are made. This is not advisable; instead, use the
인수
반환값
성공 시 예제
Example #1 Memcached::addServer() example
<?php 참고
|