Class QCacheProviderMemcache
Cache provider based on Memcache
-
QAbstractCacheProvider
-
QCacheProviderMemcache
Methods summary
public
|
#
__construct( array $objOptionsArray )
Construct the Memcache based cache provider
Construct the Memcache based cache provider
Parameters
- $objOptionsArray
array of server options. Each item in the array contains an associative
arrays with options for the server to add to memcache
|
public
object
|
#
Get( string $strKey )
Get the object that has the given key from the cache
Get the object that has the given key from the cache
Parameters
- $strKey
- the key of the object in the cache
Returns
object
|
public
|
#
Set( string $strKey, object $objValue )
Set the object into the cache with the given key
Set the object into the cache with the given key
Parameters
- $strKey
- the key to use for the object
- $objValue
- the object to put in the cache
|
public
|
#
Delete( string $strKey )
Delete the object that has the given key from the cache
Delete the object that has the given key from the cache
Parameters
- $strKey
- the key of the object in the cache
|
public
|
#
DeleteAll( )
Invalidate all the objects in the cache
Invalidate all the objects in the cache
|