|
Ubiquity 2.5.2
php rapid development framework
|
APC cache implementation Ubiquity\cache\system$ApcCache This class is part of Ubiquity. More...
Inheritance diagram for ApcuCache:Public Member Functions | |
| __construct ($root, $postfix="") | |
| Initializes the apc cache-provider. | |
| exists ($key) | |
| Check if annotation-data for the key has been stored. | |
| store ($key, $code, $tag=null) | |
| Caches the given data with the given key. | |
| fetch ($key) | |
| Fetches data stored for the given key. | |
| file_get_contents ($key) | |
| return data stored for the given key. | |
| getTimestamp ($key) | |
| Returns the timestamp of the last cache update for the given key. | |
| remove ($key) | |
| clear () | |
| Clears all cache entries. | |
| getCacheFiles ($type) | |
| clearCache ($type) | |
| getEntryKey ($key) | |
Public Member Functions inherited from AbstractDataCache | |
| init () | |
| expired ($key, $duration) | |
| getRoot () | |
| setRoot ($_root) | |
| getCacheInfo () | |
Protected Member Functions | |
| getRealKey ($key) | |
| getCacheEntries ($type) | |
| getAllEntries () | |
Additional Inherited Members | |
Protected Attributes inherited from AbstractDataCache | |
| $_root | |
| $postfix | |
APC cache implementation Ubiquity\cache\system$ApcCache This class is part of Ubiquity.
Definition at line 17 of file ApcuCache.php.
| __construct | ( | $root, | |
$postfix = "" |
|||
| ) |
Initializes the apc cache-provider.
Reimplemented from AbstractDataCache.
Definition at line 22 of file ApcuCache.php.
| clear | ( | ) |
Clears all cache entries.
Reimplemented from AbstractDataCache.
Definition at line 92 of file ApcuCache.php.
| clearCache | ( | $type | ) |
Reimplemented from AbstractDataCache.
Definition at line 126 of file ApcuCache.php.
| exists | ( | $key | ) |
Check if annotation-data for the key has been stored.
| string | $key | cache key |
Reimplemented from AbstractDataCache.
Definition at line 32 of file ApcuCache.php.
| fetch | ( | $key | ) |
Fetches data stored for the given key.
| string | $key | cache key |
Reimplemented from AbstractDataCache.
Definition at line 52 of file ApcuCache.php.
| file_get_contents | ( | $key | ) |
return data stored for the given key.
| string | $key | cache key |
Reimplemented from AbstractDataCache.
Definition at line 62 of file ApcuCache.php.
|
protected |
Definition at line 103 of file ApcuCache.php.
|
protected |
Definition at line 96 of file ApcuCache.php.
| getCacheFiles | ( | $type | ) |
Reimplemented from AbstractDataCache.
Definition at line 112 of file ApcuCache.php.
| getEntryKey | ( | $key | ) |
Reimplemented from AbstractDataCache.
Definition at line 133 of file ApcuCache.php.
|
protected |
Definition at line 42 of file ApcuCache.php.
| getTimestamp | ( | $key | ) |
Returns the timestamp of the last cache update for the given key.
| string | $key | cache key |
Reimplemented from AbstractDataCache.
Definition at line 72 of file ApcuCache.php.
| remove | ( | $key | ) |
| string | $key |
Reimplemented from AbstractDataCache.
Definition at line 88 of file ApcuCache.php.
| store | ( | $key, | |
| $code, | |||
$tag = null |
|||
| ) |
Caches the given data with the given key.
| string | $key | cache key |
| mixed | $code | the source-code to be cached |
| string | $tag | the item tag |
| CacheException |
Reimplemented from AbstractDataCache.
Definition at line 38 of file ApcuCache.php.