PHP Class Doctrine\Common\Cache\MemcacheCache

Since: 2.0
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])
Inheritance: extends CacheProvider
Exibir arquivo Open project: doctrine/cache Class Usage Examples

Public Methods

Method Description
getMemcache ( ) : Memcach\Memcache | null Gets the memcache instance used by the cache.
setMemcache ( Memcache $memcache ) : void Sets the memcache instance to use.

Protected Methods

Method Description
doContains ( $id )
doDelete ( $id )
doFetch ( $id )
doFlush ( )
doGetStats ( )
doSave ( $id, $data, $lifeTime )

Method Details

doContains() protected method

protected doContains ( $id )

doDelete() protected method

protected doDelete ( $id )

doFetch() protected method

protected doFetch ( $id )

doFlush() protected method

protected doFlush ( )

doGetStats() protected method

protected doGetStats ( )

doSave() protected method

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

getMemcache() public method

Gets the memcache instance used by the cache.
public getMemcache ( ) : Memcach\Memcache | null
return Memcach\Memcache | null

setMemcache() public method

Sets the memcache instance to use.
public setMemcache ( Memcache $memcache ) : void
$memcache Memcache
return void