Class CMemCacheServerConfiguration
CMemCacheServerConfiguration represents the configuration data for a single memcache server.
See http://www.php.net/manual/en/function.Memcache-addServer.php for detailed explanation of each configuration property.
- CComponent
- CMemCacheServerConfiguration
Package: system\caching
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/caching/CMemCache.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/caching/CMemCache.php
public
|
public
string
|
$host |
|
#
memcache server hostname or IP address |
public
integer
|
$port | 11211 |
#
memcache server port |
public
boolean
|
$persistent | true |
#
whether to use a persistent connection |
public
integer
|
$weight | 1 |
#
probability of using this server among all servers. |
public
integer
|
$timeout | 15 |
#
value in seconds which will be used for connecting to the server |
public
integer
|
$retryInterval | 15 |
#
how often a failed server will be retried (in seconds) |
public
boolean
|
$status | true |
#
if the server should be flagged as online upon a failure |