一种是LRU(Last Recent Used),另外一种是基于时间的过期(Time based expiration)。在上述两种过期策略之上,还提供了两者之间的混合。
基于12个网页-相关网页
有时,使用简单的基于时间的对象过期更为容易和简洁。
Sometimes, it's easier and cleaner to use simple timed-based expiration of objects.
基于时间的缓存过期插件:Richard Livsey的一款插件,可用来处理基于时间的缓存分段到期失效。
Timed-cache expiration plug-in: Richard Livsey's plug-in to handle timed expiration of cache fragments.
为了使用基于过期的缓存,portlet必须在部署描述符portlet . xml(对于符合JSR 168规范的标准化portlet)中定义过期缓存的持续时间。
To make use of expiration-based caching, portlets must define the duration of the expiration cache in the deployment descriptor portlet.xml (for standardized portlet following JSR 168 specification).
应用推荐