Class TFastSqlMapApplicationCache
TFastSqlMapApplicationCache class file
Fast SqlMap result cache class with minimal-concurrency get/set and atomic flush operations
- TFastSqlMapApplicationCache implements ICache
Package: System\Data\SqlMap
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Berczi Gabor <gabor.berczi@devworx.hu>
Since: 3.2
Located at Data/SqlMap/DataMapper/TFastSqlMapApplicationCache.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Berczi Gabor <gabor.berczi@devworx.hu>
Since: 3.2
Located at Data/SqlMap/DataMapper/TFastSqlMapApplicationCache.php
public
|
|
protected
|
|
protected
|
|
protected
|
|
public
boolean
|
|
public
|
#
flush( )
Deletes all values from cache. Be careful of performing this operation if the cache is shared by multiple applications. |
public
mixed
|
|
public
boolean
|
#
set( string $key, mixed $value, integer $expire = 0,
Stores a value identified by a key into cache. If the cache already contains such a key, the existing value and expiration time will be replaced with the new ones. |
protected
|
|
public
boolean
|
#
add( string $id, mixed $value, integer $expire = 0,
Stores a value identified by a key into cache if the cache does not contain this key. Nothing will be done if the cache already contains the key. |
protected
mixed
|
$_cacheModel | null |
|
protected
mixed
|
$_cache | null |