PHP Class Doctrine\Common\Cache\MemcachedCache

Not implemented until doctrine 2.2, so we made it compatible with doctrine 2.0
Since: 2.2
Author: Benjamin Eberlei ([email protected])
Author: Guilherme Blanco ([email protected])
Author: Jonathan Wage ([email protected])
Author: Roman Borschel ([email protected])
Author: David Abdemoulaie ([email protected])
Author: Nicola Tommasi ([email protected])
Inheritance: extends Doctrine\Common\Cache\AbstractCache
Mostrar archivo Open project: doctrine/cache Class Usage Examples

Public Methods

Method Description
getMemcached ( ) : Memcache\Memcached | null Gets the memcached instance used by the cache.
setMemcached ( Memcached $memcached ) : void Sets the memcache instance to use.

Protected Methods

Method Description
doContains ( $id )
doDelete ( $id )
doFetch ( $id )
doFetchMultiple ( array $keys )
doFlush ( )
doGetStats ( )
doSave ( $id, $data, $lifeTime )
doSaveMultiple ( array $keysAndValues, $lifetime )

Method Details

doContains() protected method

protected doContains ( $id )

doDelete() protected method

protected doDelete ( $id )

doFetch() protected method

protected doFetch ( $id )

doFetchMultiple() protected method

protected doFetchMultiple ( array $keys )
$keys array

doFlush() protected method

protected doFlush ( )

doGetStats() protected method

protected doGetStats ( )

doSave() protected method

protected doSave ( $id, $data, $lifeTime )

doSaveMultiple() protected method

protected doSaveMultiple ( array $keysAndValues, $lifetime )
$keysAndValues array

getMemcached() public method

Gets the memcached instance used by the cache.
public getMemcached ( ) : Memcache\Memcached | null
return Memcache\Memcached | null

setMemcached() public method

Sets the memcache instance to use.
public setMemcached ( Memcached $memcached ) : void
$memcached Memcached
return void