Property | Type | Description | |
---|---|---|---|
$automatic_cleaning_factor | integer | automatic cleaning process 0 means disabled, 1 means systematic cache cleaning of expired data (at each set or add call), greater values mean less frequent cleaning | |
$enabled | boolean | active cache ? | |
$profil_name | string | profil name used in the ini file | |
$ttl | boolean | TTL used |
Property | Type | Description | |
---|---|---|---|
$_dao | string | name of the table mapping. | |
$_dbprofile | string | connexion dbprofile | |
$base64encoding | for some sqlite version, it seems it doesn't support very well result of php serialization. This flags indicates to encode values before storing them |
Method | Description | |
---|---|---|
__construct ( $params ) | ||
decrement ( string $key, mixed $var = 1 ) : boolean | decrement a specific data value by $var | |
delete ( string $key ) : boolean | delete a specific data in the cache | |
flush ( ) : boolean | clear all data in the cache | |
garbage ( ) : boolean | remove from the cache data of which TTL was expired | |
get ( mixed $key ) : mixed | read a specific data in the cache. | |
increment ( string $key, mixed $var = 1 ) : boolean | increment a specific data value by $var | |
replace ( string $key, mixed $var, integer $ttl ) : boolean | replace a specific data value by $var | |
set ( string $key, mixed $var, integer $ttl ) : boolean | set a specific data in the cache |
public int $automatic_cleaning_factor | ||
return | integer |
protected $base64encoding |
public string $profil_name | ||
return | string |