Class \Prado\Data\SqlMap\DataMapper\TSqlMapCache
Allow different implementation of caching strategy. See <tt>TSqlMapFifoCache</tt>
for a first-in-first-out implementation. See <tt>TSqlMapLruCache</tt> for
a least-recently-used cache implementation.
Class hierarchy
- \Prado\Data\SqlMap\DataMapper\TSqlMapCache implements ICache
Since: 3.1
public
|
__construct([TSqlMapCacheModel $cacheModel = null ]) : mixed
Create a new cache with limited cache size.
|
public
|
add(mixed $id, mixed $value[, mixed $expire = 0 ][, null|mixed $dependency = null ]) : bool
Stores a value identified by a key into cache if the cache does not contain this key.
|
public
|
|
public
|
|
public
|
|
public
|
|