Cache/Simple.php

Classes 
Classes
Kwf_Cache_Simple

\Kwf_Cache_Simple

Properties
$backend
$memcacheHost
$memcachePort
Methods
_getFileNameForCacheId
add
clear
delete
fetch
getBackend
getMemcache
getUniquePrefix
getZendCache
resetZendCache

Description

A simple and fast cache. Doesn't have all the Zend_Cache bloat.

If available it uses apc user cache or memcache directly (highly recommended!!), else it falls back to Zend_Cache using a (slow) file backend.

If aws.simpleCacheCluster is set Aws ElastiCache will be used.

Properties

$backend

 $backend = ''

Details

visibility
public
default
final
false
static
true

$memcacheHost

 $memcacheHost = ''

Details

visibility
public
default
final
false
static
true

$memcachePort

 $memcachePort = ''

Details

visibility
public
default
final
false
static
true

Methods

_getFileNameForCacheId

_getFileNameForCacheId(  $cacheId ) :
Arguments
$cacheId
Details
visibility
public
final
false
static
true

add

add(  $cacheId,  $data,  $ttl = null ) :
Arguments
$cacheId
$data
$ttl
Details
visibility
public
final
false
static
true

clear

clear(  $cacheIdPrefix ) :
Arguments
$cacheIdPrefix
Details
visibility
public
final
false
static
true

delete

delete(  $cacheIds ) :
Arguments
$cacheIds
Details
visibility
public
final
false
static
true

fetch

fetch(  $cacheId,  $success = true ) :
Arguments
$cacheId
$success
Details
visibility
public
final
false
static
true

getBackend

getBackend( ) :
Details
visibility
public
final
false
static
true

getMemcache

getMemcache( ) :
Details
visibility
public
final
false
static
true

getUniquePrefix

getUniquePrefix( ) :
Details
visibility
public
final
false
static
true

getZendCache

getZendCache( ) :
Details
visibility
public
final
false
static
true

resetZendCache

resetZendCache( ) :
Details
visibility
public
final
false
static
true
Documentation was generated by DocBlox 0.12.3.