Class QCacheProviderAPC
Cache provider based on APC interface. APC or APCu can be used.
APC and APCu are not included in standard PHP, but are easily added with a pecl install.
-
QAbstractCacheProvider
-
QCacheProviderAPC
Methods summary
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
|
Properties summary
public static
integer
|
$ttl
The lifetime of cached items.
The lifetime of cached items.
|
|