\JCORE\CACHEMEMCACHED

Class MEMCACHED

Summary

Methods
Properties
Constants
__construct()
intialize()
isIntialized()
getValue()
setValue()
validateBasicArgs()
verifyArgs()
validateCachePool()
validateCacheKey()
updateSharedValue()
setSharedValue()
getSharedValue()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$intialized
N/A

Properties

$intialized

$intialized : boolean

intialized

Type

boolean

Methods

__construct()

__construct() : null

DESCRIPTOR: __construct

Returns

null

intialize()

intialize() : null

DESCRIPTOR: intialize

Returns

null

isIntialized()

isIntialized() : boolean

DESCRIPTOR: isIntialized

Returns

boolean

getValue()

getValue(  $args = array()) : boolean

getValue DESCRIPTOR: Does a "Get" on a Memcached resource args is an array that MUST follow this format args["KEY"] = [string]; // a Memcached asset ID args["cas_token"] = &cas_token; // a var passed by reference to return the cas_token used by: updateSharedResource args["cache_cb"] = NULL/[string]; // the call back function. probably not much use for resetting (big tangle, too many functions) BUT could be usefull for logging

Parameters

$args

Returns

boolean

setValue()

setValue(  $args = array()) : boolean

setValue DESCRIPTOR: Does a "Check and Set" on a shared resource args is an array that MUST follow this format args["KEY"] = [string]; // a Memcached asset ID args["value"] = [mixed]; // a asset to be stored in Memcached args["expiration"] = [int]; // the call back function. probably not much use for resetting (big tangle, too many functions) BUT could be usefull for logging

Parameters

$args

Returns

boolean

validateBasicArgs()

validateBasicArgs(  $args = array()) : boolean

validateBasicArgs just check that there are args in the array define it here for re-use

Parameters

$args

Returns

boolean

verifyArgs()

verifyArgs(  $args = array()) : boolean

verifyArgs just check that there are args in the array define it here for re-use

Parameters

$args

Returns

boolean

validateCachePool()

validateCachePool(  $args) : boolean

validateCachePool just check that there are args in the array define it here for re-use

Parameters

$args

Returns

boolean

validateCacheKey()

validateCacheKey(  $args = array()) : boolean

validateCacheKey just check that there are args in the array define it here for re-use

Parameters

$args

Returns

boolean

updateSharedValue()

updateSharedValue(  $args = array()) : boolean

updateSharedValue

Parameters

$args

Returns

boolean

setSharedValue()

setSharedValue(  $args = array()) : boolean

setSharedValue

Parameters

$args

Returns

boolean

getSharedValue()

getSharedValue(  $args = array()) : boolean

getSharedValue

Parameters

$args

Returns

boolean