Ubiquity
2.0.2
php rapid development framework
|
This class is responsible for storing values in apcu cache. More...
Public Member Functions | |
__construct ($root, $postfix="") | |
Initializes the apcu cache-provider. More... | |
exists ($key) | |
Check if annotation-data for the key has been stored. More... | |
store ($key, $code, $tag, $php=true) | |
fetch ($key) | |
Fetches data stored for the given key. More... | |
file_get_contents ($key) | |
return data stored for the given key. More... | |
getTimestamp ($key) | |
Returns the timestamp of the last cache update for the given key. More... | |
remove ($key) | |
clear () | |
getCacheFiles ($type) | |
clearCache ($type) | |
getEntryKey ($key) | |
![]() | |
__construct ($root, $postfix="") | |
exists ($key) | |
Check if annotation-data for the key has been stored. More... | |
expired ($key, $duration) | |
store ($key, $code, $tag=null, $php=true) | |
Caches the given data with the given key. More... | |
getRoot () | |
fetch ($key) | |
Fetches data stored for the given key. More... | |
file_get_contents ($key) | |
return data stored for the given key. More... | |
getTimestamp ($key) | |
Returns the timestamp of the last cache update for the given key. More... | |
remove ($key) | |
clear () | |
Clears all cache entries. More... | |
getCacheFiles ($type) | |
clearCache ($type) | |
getCacheInfo () | |
getEntryKey ($key) | |
Protected Member Functions | |
storeContent ($key, $content, $tag) | |
Caches the given data with the given key. More... | |
getRealKey ($key) | |
getCacheEntries ($type) | |
getAllEntries () | |
![]() | |
storeContent ($key, $content, $tag) | |
Additional Inherited Members | |
![]() | |
const | PHP_TAG ="<?php\n" |
![]() | |
$_root | |
$postfix | |
This class is responsible for storing values in apcu cache.
Definition at line 10 of file ApcuCache.php.
__construct | ( | $root, | |
$postfix = "" |
|||
) |
Initializes the apcu cache-provider.
Definition at line 14 of file ApcuCache.php.
clear | ( | ) |
Definition at line 90 of file ApcuCache.php.
clearCache | ( | $type | ) |
Definition at line 122 of file ApcuCache.php.
exists | ( | $key | ) |
Check if annotation-data for the key has been stored.
string | $key | cache key |
Definition at line 23 of file ApcuCache.php.
fetch | ( | $key | ) |
Fetches data stored for the given key.
string | $key | cache key |
Definition at line 50 of file ApcuCache.php.
file_get_contents | ( | $key | ) |
return data stored for the given key.
string | $key | cache key |
Definition at line 60 of file ApcuCache.php.
|
protected |
Definition at line 99 of file ApcuCache.php.
|
protected |
Definition at line 94 of file ApcuCache.php.
getCacheFiles | ( | $type | ) |
Definition at line 108 of file ApcuCache.php.
getEntryKey | ( | $key | ) |
Definition at line 129 of file ApcuCache.php.
|
protected |
Definition at line 41 of file ApcuCache.php.
getTimestamp | ( | $key | ) |
Returns the timestamp of the last cache update for the given key.
string | $key | cache key |
Definition at line 70 of file ApcuCache.php.
remove | ( | $key | ) |
Definition at line 86 of file ApcuCache.php.
store | ( | $key, | |
$code, | |||
$tag, | |||
$php = true |
|||
) |
Definition at line 27 of file ApcuCache.php.
|
protected |
Caches the given data with the given key.
string | $key | cache key |
string | $content | the source-code to be cached |
string | $tag | not used |
Definition at line 37 of file ApcuCache.php.