![]() |
IP.Board
3.3.0
|
Public Member Functions | |
| disconnect () | |
| getFromCache ($key) | |
| putInCache ($key, $value, $ttl=0) | |
| removeFromCache ($key) | |
| updateInCache ($key, $value, $ttl=0) | |
| disconnect | ( | ) |
Disconnect from remote cache store
Implemented in classCacheDiskcache, classCacheMemcache, classCacheXcache, classCacheApc, classCacheWincache, and classCacheEaccelerator.
| getFromCache | ( | $ | key | ) |
Retrieve a value from remote cache store
| string | Cache unique key |
Implemented in classCacheMemcache, classCacheDiskcache, classCacheEaccelerator, classCacheXcache, classCacheApc, and classCacheWincache.
| putInCache | ( | $ | key, |
| $ | value, | ||
| $ | ttl = 0 |
||
| ) |
Put data into remote cache store
| string | Cache unique key |
| string | Cache value to add |
| integer | [Optional] Time to live |
Implemented in classCacheMemcache, classCacheEaccelerator, classCacheDiskcache, classCacheApc, classCacheWincache, and classCacheXcache.
| removeFromCache | ( | $ | key | ) |
Remove a value in the remote cache store
| string | Cache unique key |
Implemented in classCacheDiskcache, classCacheMemcache, classCacheEaccelerator, classCacheXcache, classCacheApc, and classCacheWincache.
| updateInCache | ( | $ | key, |
| $ | value, | ||
| $ | ttl = 0 |
||
| ) |
Update value in remote cache store
| string | Cache unique key |
| string | Cache value to set |
| integer | [Optional] Time to live |
Implemented in classCacheDiskcache, classCacheMemcache, classCacheEaccelerator, classCacheXcache, classCacheApc, and classCacheWincache.