|
Previous Class |
Solar_Cache_Adapter_Xcache |
Next Page |
Solar_Cache_Adapter_Xcache
XCache cache controller.
XCache is a fast, stable PHP opcode cacher tested and supported on all of the latest PHP cvs branches.
The XCache extension is not bundled with PHP; you will need to install it on your server before you can use it. More info on the XCache homepage.
Catalog
This class is part of the Solar_Cache package.
Inheritance:
- Solar_Base
- Solar_Cache_Adapter
- Solar_Cache_Adapter_Xcache
- Solar_Cache_Adapter
Constants
None.
Public Properties
The Solar_Cache_Adapter_Xcache class has no public properties; try the list of all properties.
Public Methods
These are all the public methods in the Solar_Cache_Adapter_Xcache class.
You can also view the list of all public, protected, and private methods.
__construct()- Constructor.
__destruct()- Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
add()- Inserts cache entry data, but only if the entry does not already exist.
apiVersion()- Reports the API version for this class.
delete()- Deletes a cache entry.
deleteAll()- Removes all cache entries.
dump()- Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
entry()- Returns the name for the entry key.
fetch()- Gets cache entry data.
getLife()- Gets the cache lifetime in seconds.
isActive()- Gets the current activity state of the cache (on or off).
locale()- Looks up class-specific locale strings based on a key.
save()- Sets cache entry data.
setActive()- Makes the cache active (true) or inactive (false).