PEAR 中文手册-phpv.net译制版
上一页
章 23. 缓存 Caching
下一页
Cache_Lite
目录
Introduction
-- Cache_Lite简介
constructor
Cache_Lite::Cache_Lite()
-- 构造函数
Cache_Lite::get()
-- 检测缓存是否存在,如存在则返回它
Cache_Lite::save()
-- 向缓存文件中保存数据
Cache_Lite::remove()
-- 移除一个缓存文件
Cache_Lite::clean()
-- 清空缓存
Cache_Lite::setToDebug()
-- 设置为调试模式(debug mode)
Cache_Lite::setLifeTime()
-- 设置一个新的缓存生存周期
Cache_Lite::saveMemoryCachingState()
-- 英文手册未译(保存内存缓存当前状态至文件)
Cache_Lite::getMemoryCachingState()
-- 英文手册未译(读取上一个函数所保存的状态)
Cache_Lite::lastModified()
-- 返回缓存最后修改时间
Cache_Lite::raiseError()
-- 触发一个 PEAR 错误
constructor
Cache_Lite_Output::Cache_Lite_Output()
-- cache_Lite_Output的构造函数
Cache_Lite_Output::start()
-- 检测一个缓存文件是否存在,如是则返回到浏览器,如否,则激活输出缓冲.
Cache_Lite_Output::end()
-- 停止由 start() 方式启动的输出缓冲行为,并将其保存在一个缓存文件中
constructor
Cache_Lite_Function::Cache_Lite_Function()
-- 构造函数
Cache_Lite_Function::call()
-- 调用一个可缓存的函数和方法 (如其已缓存则不调用)
Cache_Lite 提供了一个快速,轻巧,安全的缓存系统. 并对文件容器和防止缓存损坏进行了优化(因为它使用了文件锁定和hash测试技术).
上一页
首页
下一页
缓存 Caching
起点
简介