Cache: ezcCacheStorageFileOptions
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcCacheStorageFileOptions
|
Option class for the ezcCacheStorageFile class. [
source]
Instances of this class store the option of ezcCacheStorageFile implementations.
Parents
ezcBaseOptions
|
--ezcCacheStorageFileOptions
Properties
|
string |
read/write
|
$extension
The (file) extension to use for the storage items. |
|
string |
read/write
|
$lockFile
The name of the file used for locking in the lock() method. 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
|
$metaDataFile
The name of the file used to store meta data. Default is '.ezcMetaData'. |
|
int |
read/write
|
$permissions
Permissions to create a file with (Posix only). |
|
int |
read/write
|
$ttl
The time to live of cache entries. |
Member Variables
Inherited Member Variables
From
ezcBaseOptions:
Method Summary
|
public ezcCacheStorageFileOptions |
__construct(
[$options = array()] )
Constructs a new options class. |
Inherited Methods
From
ezcBaseOptions :
Methods
__construct
ezcCacheStorageFileOptions __construct(
[array(string=>mixed)
$options = array()] )
Constructs a new options class.
It also sets the default values of the format property
Parameters
| Name |
Type |
Description |
$options |
array(string=>mixed) |
The initial options to set. |
Throws
| Class | Description |
ezcBasePropertyNotFoundException |
If a the value for the property options is not an instance of |
ezcBaseValueException |
If a the value for a property is out of range. |
Redefinition of
Last updated: Mon, 05 Jan 2009