Class TSqlMapLruCache
Least recently used cache implementation, removes object that was accessed last 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 | the key identifying the value to be cached |
| mixed | $value | the value to be cached |
| mixed | $expire | |
| mixed | $dependency | |
| Output |
| Exception |
|
|