cache driver for data stored in Memcached. Use the memcache extension of PHP.
This plugin should be used with version 3.0.1 or more of the memcache extension
| package |
jelix |
|---|---|
| subpackage |
cache_plugin |
__construct(array $params)
arraydriver parameters, written in the ini file
decrement(string $key, mixed $var = 1) : boolean
stringkey used for storing data in the cache
mixedvalue used
booleanfalse if failure
delete(string $key) : boolean
stringkey used for storing data in the cache
booleanfalse if failure
flush() : boolean
booleanfalse if failure
garbage() : boolean
boolean
get(mixed $key) : mixed
mixedkey or array of keys used for storing data in the cache
mixed$data array of data or false if failure
increment(string $key, mixed $var = 1) : boolean
stringkey used for storing data in the cache
mixedvalue used
booleanfalse if failure
replace(string $key, mixed $var, integer $ttl) : boolean
stringkey used for storing data in the cache
mixeddata to replace
integerdata time expiration
booleanfalse if failure
set(string $key, mixed $var, integer $ttl) : boolean
stringkey used for storing data
mixeddata to store
integerdata time expiration
booleanfalse if failure
_servers : string
| var | |
|---|---|
| access |
protected |
string
_memcache : object
| var |
Memcache |
|---|---|
| access |
protected |
object
profil_name : string
| var | |
|---|---|
| access |
public |
string
enabled : boolean
| var | |
|---|---|
| access |
public |
boolean
ttl : boolean
| var | |
|---|---|
| access |
public |
boolean
automatic_cleaning_factor : integer
| var | |
|---|---|
| access |
public |
integer