Namespaces

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • Cache
  • DummyStorage
  • FileStorage
  • MemcachedStorage

Interfaces

  • ICacheStorage
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Class MemcachedStorage

Memcached storage.

Nette\Object
Extended by Nette\Caching\MemcachedStorage implements Nette\Caching\ICacheStorage
Namespace: Nette\Caching
Author: David Grudl
Located at Caching/MemcachedStorage.php
Methods summary
public static boolean
# isAvailable( )

Checks if Memcached extension is available.

Checks if Memcached extension is available.

Returns

boolean
public
# __construct( $host = 'localhost', $port = 11211, $prefix = '' )
public mixed|null
# read( string $key )

Read from cache.

Read from cache.

Parameters

$key
string
key

Returns

mixed|null

Implementation of

Nette\Caching\ICacheStorage::read
public
# 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
dependencies

Implementation of

Nette\Caching\ICacheStorage::write
public
# remove( string $key )

Removes item from the cache.

Removes item from the cache.

Parameters

$key
string
key

Implementation of

Nette\Caching\ICacheStorage::remove
public
# clean( array $conds )

Removes items from the cache by conditions & garbage collector.

Removes items from the cache by conditions & garbage collector.

Parameters

$conds
array
conditions

Implementation of

Nette\Caching\ICacheStorage::clean
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants summary
string META_CALLBACKS 'callbacks'
#
string META_DATA 'data'
#
string META_DELTA 'delta'
#
Nette Framework 0.9.7 API documentation generated by ApiGen 2.3.0