Cache: ezcCacheStorageMemcacheOptions
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcCacheStorageMemcacheOptions
|
Option class for defining a connection to a Memcache server. [
source]
Parents
ezcBaseOptions
|
--ezcCacheStorageMemcacheOptions
Properties
|
bool |
read/write
|
$compressed
If on-the-fly compression is needed. Default is false. Requires the zlib PHP extension. |
|
string |
read/write
|
$host
The name of the Memcache host to use, usually localhost. |
|
string |
read/write
|
$lockKey
Cache key to use for locking. Default is '.ezcLock'. |
|
int |
read/write
|
$lockWaitTime
|
|
int |
read/write
|
$maxLockTime
Time before a lock is considered dead, measured in seconds. Default is 5. |
|
string |
read/write
|
$metaDataKey
The name of the file used to store meta data. Default is '.ezcMetaData'. |
|
bool |
read/write
|
$persistent
If a persistent connection to the Memcache host is needed. Default is false. A persistent connection stays open between requests. |
|
int |
read/write
|
$port
The port on which to connect to host, usually 11211. |
Member Variables
Inherited Member Variables
From
ezcBaseOptions:
Method Summary
|
public ezcCacheStorageMemcacheOptions |
__construct(
[$options = array()] )
Constructs an object with the specified values. |
Inherited Methods
From
ezcBaseOptions :
Methods
__construct
ezcCacheStorageMemcacheOptions __construct(
[
$options = array()] )
Constructs an object with the specified values.
Parameters
| Name |
Type |
Description |
$options |
array(string=>mixed) |
|
Throws
| Class | Description |
ezcBasePropertyNotFoundException |
If $options contains a property not defined. |
ezcBaseValueException |
If $options contains a property with a value not allowed. |
Redefinition of
Last updated: Thu, 08 Jan 2009