namespace Nette\Caching
Class MemcachedStorage
Memcached storage.
- Nette\Object
-
Nette\Caching\MemcachedStorage implements ICacheStorage
public static
bool
|
#
isAvailable(
)
Checks if Memcached extension is available. Checks if Memcached extension is available. |
public
|
#
__construct(
$host = 'localhost',
$port = 11211,
$prefix = '',
Nette\Context
$context = NULL
)
|
public
mixed|NULL
|
#
read(
string
$key
)
Read from cache. |
public
void
|
#
write(
string
$key,
mixed
$data,
array
$dp
)
Writes item into the cache. Writes item into the cache. Parameters$key string key$data mixed data$dp array dependenciesImplementation of |
public
void
|
#
remove(
string
$key
)
Removes item from the cache. |
public
void
|
#
clean(
array
$conds
)
Removes items from the cache by conditions & garbage collector. Removes items from the cache by conditions & garbage collector. Parameters$conds array conditionsImplementation of |
protected
ICacheJournal
|
#
getJournal(
)
|