IDatabaseCache Class
Interface for the external database cache, optional
Item Index
Methods
Methods
flushContext
(
Boolean
-
context
Delete a context (which is a group of related keys)
Parameters:
-
context
StringThe name of the context
Returns:
Boolean:
If we successfully deleted the context
read
(
Mixed
-
key
-
[output=false]
Read an item back from the cache
Parameters:
Returns:
Mixed:
Return false if we can't read it, or it doesn't exist
save
(
-
key
-
key
-
[context=null]
-
[expires=-1]
-
If
Save and item to the server