Download Zend Server Cluster Manager Reference Manual

Transcript
API Reference
Zend Data Cache - PHP API
Table of Contents
•
Zend Data Cache functions
o
zend_shm_cache_store - Stores a variable identified by key into the cache. If a
namespace is provided, the key is stored under that namespace. Identical keys can exist
under different namespaces
o
zend_disk_cache_store - Stores a variable identified by a key into the cache. If a
namespace is provided, the key is stored under that namespace. Identical keys can exist
under different namespaces
o
zend_shm_cache_fetch - Fetches data from the cache. The key can be prefixed with a
namespace to indicate searching within the specified namespace only. If a namespace is
not provided, the Data Cache searches for the key in the global namespace
o
zend_disk_cache_fetch - Fetches data from the cache. The key can be prefixed with a
namespace to indicate searching within the specified namespace only. If a namespace is
not provided, the Data Cache searches for the key in the global namespace
o
zend_shm_cache_delete - Finds and deletes an entry from the cache, using a key to
identify it. The key can be prefixed with a namespace to indicate that the key can be
deleted within that namespace only. If a namespace is not provided, the Data Cache
searches for the key in the global namespace
o
zend_disk_cache_delete - Finds and deletes an entry from the cache, using a key to
identify it. The key can be prefixed with a namespace to indicate that the key can be
deleted within that namespace only. If a namespace is not provided, the Data Cache
searches for the key in the global namespace
o
zend_shm_cache_clear - Deletes all entries from all namespaces in the cache, if a
'namespace' is provided, only the entries in that namespace are deleted
o
zend_disk_cache_clear - Deletes all entries from all namespaces in the cache, if a
'namespace' is provided, only the entries in that namespace are deleted
261