Class MemcachedWrapper
A wrapper for PHP's Memcached extension. Will try to use the Memcached class first, if it doesn't exist, will use Memcache.
- Alo\Cache\AbstractCache
-
Alo\Cache\MemcachedWrapper
Namespace: Alo\Cache
Package: Cache
Author: Art <a.molcanovas@gmail.com>
Located at sys/class/alo/cache/memcachedwrapper.php
Package: Cache
Author: Art <a.molcanovas@gmail.com>
Located at sys/class/alo/cache/memcachedwrapper.php
Methods summary
public
|
|
public
string|null
|
|
public
boolean
|
|
public
boolean
|
|
public
array
|
|
public
boolean
|
|
public
mixed
|
|
public
boolean
|
|
protected
array
|
|
protected
array
|
|
public
array
|
Methods inherited from Alo\Cache\AbstractCache
__get()
,
__isset()
,
__set()
,
__unset()
,
deleteWithPrefix()
,
deleteWithSuffix()
,
is_available()
Magic methods summary
Constants summary
integer |
CLASS_MEMCACHED
|
1 |
#
Defines the class as Memcached |
integer |
CLASS_MEMCACHE
|
2 |
#
Defines the class as Memcache |
Properties summary
protected
|
$mc |
#
The memcached instance |
protected static
boolean
|
$loaded |
#
Whether the relevant cache extension is loaded |