Class TSqlMapFifoCache
First-in-First-out cache implementation, removes object that was first added when the cache is full.
| Method Summary |
|
mixed
|
|
|
void
|
set
( string $key, mixed $value, mixed $expire, mixed $dependency)
Stores a value identified by a key into cache.
|
| Method Details |
get
| public mixed get |
(mixed $key ) |
| Input |
| mixed | $key | |
| Output |
|
mixed
| Gets a cached object with the specified key. |
| Exception |
|
set
| public void set |
(string $key , mixed $value , mixed $expire , mixed $dependency ) |
Stores a value identified by a key into cache.
The expire and dependency parameters are ignored.
| Input |
| string | $key | cache key |
| mixed | $value | value to cache. |
| mixed | $expire | |
| mixed | $dependency | |
| Output |
| Exception |
|
|