Class TFastSqlMapApplicationCache

Description

Implements interfaces:

TFastSqlMapApplicationCache class file

Fast SqlMap result cache class with minimal-concurrency get/set and atomic flush operations

  • author: Berczi Gabor <gabor.berczi@devworx.hu>
  • version: $Id: TFastSqlMapApplicationCache.php 2996 2011-06-20 15:24:57Z ctrlaltca@gmail.com $
  • since: 3.2

Located in /Data/SqlMap/DataMapper/TFastSqlMapApplicationCache.php (line 24)


	
			
Variable Summary
mixed $_cache
mixed $_cacheModel
Method Summary
TFastSqlMapApplicationCache __construct ([ $cacheModel = null])
void add ( $id,  $value, [ $expire = 0], [ $dependency = null])
void delete ( $key)
void flush ()
void get ( $key)
void getBaseKey ()
void getCache ()
void getCacheKey ( $key)
void set ( $key,  $value, [ $expire = 0], [ $dependency = null])
Variables
mixed $_cache = null (line 27)
  • access: protected
mixed $_cacheModel = null (line 26)
  • access: protected
Methods
Constructor __construct (line 29)
  • access: public
TFastSqlMapApplicationCache __construct ([ $cacheModel = null])
  • $cacheModel
add (line 85)
  • access: public
void add ( $id,  $value, [ $expire = 0], [ $dependency = null])
  • $id
  • $value
  • $expire
  • $dependency
delete (line 57)
  • access: public
void delete ( $key)
  • $key
flush (line 62)
  • access: public
void flush ()
get (line 67)
  • access: public
void get ( $key)
  • $key
getBaseKey (line 39)
  • access: protected
void getBaseKey ()
getBaseKeyKeyName (line 34)
  • access: protected
void getBaseKeyKeyName ()
getCache (line 78)
  • access: protected
void getCache ()
getCacheKey (line 52)
  • access: protected
void getCacheKey ( $key)
  • $key
set (line 73)
  • access: public
void set ( $key,  $value, [ $expire = 0], [ $dependency = null])
  • $key
  • $value
  • $expire
  • $dependency

Documentation generated on Mon, 25 Jun 2012 14:38:12 +0200 by phpDocumentor 1.4.3