Class X2FileCache
CFileCache provides a file-based caching mechanism.
For each data value being cached, CFileCache will use store it in a separate
file under CFileCache::$cachePath
which defaults to 'protected/runtime/cache'.
CFileCache will perform garbage collection automatically to remove expired cache
files.
See CCache manual for common cache operations that are supported by
CFileCache.
-
CComponent
-
CApplicationComponent
implements
IApplicationComponent
-
CCache
implements
ICache,
ArrayAccess
-
CFileCache
-
X2FileCache
Methods summary
public
|
#
init( )
Initializes this application component. This method is required by the IApplicationComponent interface.
Initializes this application component. This method is required by the IApplicationComponent interface.
Overrides
CFileCache::init()
|
Methods inherited from CFileCache
addValue(),
deleteValue(),
flushValues(),
gc(),
getCacheFile(),
getGCProbability(),
getValue(),
setGCProbability(),
setValue()
|
Methods inherited from CCache
add(),
delete(),
flush(),
generateUniqueKey(),
get(),
getValues(),
mget(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
set()
|
Methods inherited from CApplicationComponent
getIsInitialized()
|
Methods inherited from CComponent
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
Properties inherited from CFileCache
$cacheFileMode,
$cacheFileSuffix,
$cachePath,
$cachePathMode,
$directoryLevel,
$embedExpiry
|
Properties inherited from CCache
$hashKey,
$keyPrefix,
$serializer
|
Properties inherited from CApplicationComponent
$behaviors
|
Magic properties inherited from CFileCache
$gCProbability
|
Magic properties inherited from CApplicationComponent
$isInitialized
|