Méthode |
Description |
|
__construct ( $host = 'localhost', $port = 11211, $prefix = '', Nette\Caching\Storages\IJournal $journal = NULL ) |
|
|
addServer ( $host = 'localhost', $port = 11211 ) |
|
|
bulkRead ( array $keys ) : array |
Reads from cache in bulk. |
|
clean ( array $conditions ) : void |
Removes items from the cache by conditions & garbage collector. |
|
getConnection ( ) : Memcached |
|
|
isAvailable ( ) : boolean |
Checks if Memcached extension is available. |
|
lock ( $key ) : void |
Prevents item reading and writing. Lock is released by write() or remove(). |
|
read ( $key ) : mixed | null |
Read from cache. |
|
remove ( $key ) : void |
Removes item from the cache. |
|
write ( $key, $data, array $dp ) : void |
Writes item into the cache. |
|