MediaWiki
REL1_22
|
Wrapper for WinCache object caching functions; identical interface to the APC wrapper. More...
Public Member Functions | |
cas ($casToken, $key, $value, $exptime=0) | |
Store a value in the WinCache object cache, race condition-safe. | |
delete ($key, $time=0) | |
Remove a value from the WinCache object cache. | |
get ($key, &$casToken=null) | |
Get a value from the WinCache object cache. | |
set ($key, $value, $expire=0) | |
Store a value in the WinCache object cache. |
Wrapper for WinCache object caching functions; identical interface to the APC wrapper.
Definition at line 30 of file WinCacheBagOStuff.php.
WinCacheBagOStuff::cas | ( | $ | casToken, |
$ | key, | ||
$ | value, | ||
$ | exptime = 0 |
||
) |
Store a value in the WinCache object cache, race condition-safe.
int | $casToken | cas token |
string | $key | cache key |
int | $value | object to store |
int | $exptime | expiration time |
Reimplemented from BagOStuff.
Definition at line 76 of file WinCacheBagOStuff.php.
WinCacheBagOStuff::delete | ( | $ | key, |
$ | time = 0 |
||
) |
Remove a value from the WinCache object cache.
string | $key | cache key |
int | $time | not used in this implementation |
Reimplemented from BagOStuff.
Definition at line 87 of file WinCacheBagOStuff.php.
References $key.
WinCacheBagOStuff::get | ( | $ | key, |
&$ | casToken = null |
||
) |
Get a value from the WinCache object cache.
string | $key | cache key |
$casToken[optional] | int: cas token |
Reimplemented from BagOStuff.
Definition at line 39 of file WinCacheBagOStuff.php.
References $key.
WinCacheBagOStuff::set | ( | $ | key, |
$ | value, | ||
$ | expire = 0 |
||
) |