Class MemcachedStorage (namespace Nette\Caching)
Memcached storage.
Object | --MemcachedStorage
Implements interfaces:
Public Method Summary | |
---|---|
MemcachedStorage |
|
void |
clean
($conds)
Removes items from the cache by conditions & garbage collector.
|
static bool |
isAvailable
()
Checks if Memcached extension is available.
|
mixed|NULL |
read
(string $key)
Read from cache.
|
void |
remove
(string $key)
Removes item from the cache.
|
void |
write
(string $key, mixed $data, $dp)
Writes item into the cache.
|
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Method Details | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 48 __constructpublic MemcachedStorage __construct ([$host =
|
||||||||||||||||||
line 145 cleanpublic void clean ($conds) Removes items from the cache by conditions & garbage collector. Implementation of:
|
||||||||||||||||||
line 41 isAvailablepublic static bool isAvailable () Checks if Memcached extension is available.
|
||||||||||||||||||
line 66 readpublic mixed|NULL read (string $key) Read from cache. Implementation of:
|
||||||||||||||||||
line 133 removepublic void remove (string $key) Removes item from the cache. Implementation of:
|
||||||||||||||||||
line 101 writepublic void write (string $key, mixed $data, $dp) Writes item into the cache. Implementation of:
|