Class TSqlMapLruCache
Least recently used cache implementation, removes object that was accessed last when the cache is full.
- TSqlMapCache implements ICache
-
TSqlMapLruCache
Package: System\Data\SqlMap
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>
Since: 3.1
Located at Data/SqlMap/DataMapper/TSqlMapCache.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>
Since: 3.1
Located at Data/SqlMap/DataMapper/TSqlMapCache.php
public
mixed
|
|
public
boolean
|
#
set( string $key, mixed $value, integer $expire = 0,
Stores a value identified by a key into cache. The expire and dependency parameters are ignored. |
__construct(),
add(),
delete(),
flush(),
getCacheSize(),
setCacheSize()
|
$_cache,
$_cacheModel,
$_cacheSize,
$_keyList
|