UNA
Loading...
Searching...
No Matches
BxDolCacheAPC Class Reference
Inheritance diagram for BxDolCacheAPC:
BxDolCache BxDol

Public Member Functions

 getData ($sKey, $iTTL=false)
 
 setData ($sKey, $mixedData, $iTTL=false)
 
 delData ($sKey)
 
 isAvailable ()
 
 isInstalled ()
 
 removeAllByPrefix ($s)
 
- Public Member Functions inherited from BxDolCache
 getSizeByPrefix ($s)
 

Protected Attributes

 $iTTL = 3600
 

Member Function Documentation

◆ delData()

BxDolCacheAPC::delData ( $sKey)

Delete cache from shared memory

Parameters
string$sKey- file name
Returns
result of the operation

Reimplemented from BxDolCache.

◆ getData()

BxDolCacheAPC::getData ( $sKey,
$iTTL = false )

Get data from shared memory cache

Parameters
string$sKey- file name
int$iTTL- time to live
Returns
the data is got from cache.

Reimplemented from BxDolCache.

◆ isAvailable()

BxDolCacheAPC::isAvailable ( )

Check if apc cache functions are available

Returns
boolean

Reimplemented from BxDolCache.

◆ isInstalled()

BxDolCacheAPC::isInstalled ( )

Check if apc extension is loaded

Returns
boolean

Reimplemented from BxDolCache.

◆ removeAllByPrefix()

BxDolCacheAPC::removeAllByPrefix ( $s)

remove all data from cache by key prefix

Returns
true on success

Reimplemented from BxDolCache.

◆ setData()

BxDolCacheAPC::setData ( $sKey,
$mixedData,
$iTTL = false )

Save data in shared memory cache

Parameters
string$sKey- file name
mixed$mixedData- the data to be cached in the file
int$iTTL- time to live
Returns
boolean result of operation.

Reimplemented from BxDolCache.


The documentation for this class was generated from the following file: