IP.Board  3.3.0
classCacheApc Class Reference
Inheritance diagram for classCacheApc:
interfaceCache

Public Member Functions

 __construct ($identifier='')
 disconnect ()
 getFromCache ($key)
 putInCache ($key, $value, $ttl=0)
 removeFromCache ($key)
 updateInCache ($key, $value, $ttl=0)

Protected Attributes

 $identifier = ''

Constructor & Destructor Documentation

__construct ( identifier = '')

Constructor

Parameters:
stringUnique identifier
Returns:
boolean

Member Function Documentation

Not used by this library

Returns:
boolean

Implements interfaceCache.

getFromCache ( key)

Retrieve a value from remote cache store

Parameters:
stringCache unique key
Returns:
mixed

Implements interfaceCache.

putInCache ( key,
value,
ttl = 0 
)

Put data into remote cache store

Parameters:
stringCache unique key
stringCache value to add
integer[Optional] Time to live
Returns:
boolean

Implements interfaceCache.

removeFromCache ( key)

Remove a value in the remote cache store

Parameters:
stringCache unique key
Returns:
boolean

Implements interfaceCache.

updateInCache ( key,
value,
ttl = 0 
)

Update value in remote cache store

Parameters:
stringCache unique key
stringCache value to set
integer[Optional] Time to live
Returns:
boolean

Implements interfaceCache.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables