PHP Class Prado\Data\SqlMap\DataMapper\TFastSqlMapApplicationCache

Fast SqlMap result cache class with minimal-concurrency get/set and atomic flush operations
Since: 3.2
Author: Berczi Gabor ([email protected])
Inheritance: implements Prado\Caching\ICache
Exibir arquivo Open project: pradosoft/prado

Protected Properties

Property Type Description
$_cache
$_cacheModel

Public Methods

Method Description
__construct ( $cacheModel = null )
add ( $id, $value, $expire, $dependency = null )
delete ( $key )
flush ( )
get ( $key )
set ( $key, $value, $expire, $dependency = null )

Protected Methods

Method Description
getBaseKey ( )
getBaseKeyKeyName ( )
getCache ( )
getCacheKey ( $key )

Method Details

__construct() public method

public __construct ( $cacheModel = null )

add() public method

public add ( $id, $value, $expire, $dependency = null )

delete() public method

public delete ( $key )

flush() public method

public flush ( )

get() public method

public get ( $key )

getBaseKey() protected method

protected getBaseKey ( )

getBaseKeyKeyName() protected method

protected getBaseKeyKeyName ( )

getCache() protected method

protected getCache ( )

getCacheKey() protected method

protected getCacheKey ( $key )

set() public method

public set ( $key, $value, $expire, $dependency = null )

Property Details

$_cache protected_oe property

protected $_cache

$_cacheModel protected_oe property

protected $_cacheModel