Inherits BagOStuff.
Public Member Functions | |
| get ($key) | |
| Get an item with the given key. | |
| set ($key, $value, $exptime=0) | |
| Set an item. | |
| delete ($key, $time=0) | |
| lock ($key, $waitTimeout=0) | |
| unlock ($key) | |
This is basically identical to the deceased Turck MMCache version, mostly because eAccelerator is based on Turck MMCache.
Definition at line 507 of file BagOStuff.php.
| eAccelBagOStuff::delete | ( | $ | key, | |
| $ | time = 0 | |||
| ) |
| eAccelBagOStuff::get | ( | $ | key | ) |
Get an item with the given key.
Returns false if it does not exist.
| $key | string |
Reimplemented from BagOStuff.
Definition at line 508 of file BagOStuff.php.
| eAccelBagOStuff::lock | ( | $ | key, | |
| $ | waitTimeout = 0 | |||
| ) |
| eAccelBagOStuff::set | ( | $ | key, | |
| $ | value, | |||
| $ | exptime = 0 | |||
| ) |
Set an item.
| $key | string | |
| $value | mixed | |
| $exptime | int Either an interval in seconds or a unix timestamp for expiry |
Reimplemented from BagOStuff.
Definition at line 516 of file BagOStuff.php.
| eAccelBagOStuff::unlock | ( | $ | key | ) |
1.5.9