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
Afficher le fichier Open project: pradosoft/prado

Protected Properties

Свойство Type Description
$_cache
$_cacheModel

Méthodes publiques

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

Méthodes protégées

Méthode Description
getBaseKey ( )
getBaseKeyKeyName ( )
getCache ( )
getCacheKey ( $key )

Method Details

__construct() public méthode

public __construct ( $cacheModel = null )

add() public méthode

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

delete() public méthode

public delete ( $key )

flush() public méthode

public flush ( )

get() public méthode

public get ( $key )

getBaseKey() protected méthode

protected getBaseKey ( )

getBaseKeyKeyName() protected méthode

protected getBaseKeyKeyName ( )

getCache() protected méthode

protected getCache ( )

getCacheKey() protected méthode

protected getCacheKey ( $key )

set() public méthode

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

Property Details

$_cache protected_oe property

protected $_cache

$_cacheModel protected_oe property

protected $_cacheModel