system system.base system.caching system.caching.dependencies system.collections system.console system.db system.db.ar system.db.schema system.db.schema.mssql system.db.schema.mysql system.db.schema.oci system.db.schema.pgsql system.db.schema.sqlite system.i18n system.i18n.gettext system.logging system.utils system.validators system.web system.web.actions system.web.auth system.web.filters system.web.helpers system.web.renderers system.web.services system.web.widgets system.web.widgets.captcha system.web.widgets.pagers

ICacheDependency

system.caching
继承 interface ICacheDependency
子类 CCacheDependency, CChainedCacheDependency, CDbCacheDependency, CDirectoryCacheDependency, CExpressionDependency, CFileCacheDependency, CGlobalStateCacheDependency
可用自 1.0
版本 $Id$
ICacheDependency is the interface that must be implemented by cache dependency classes.

This interface must be implemented by classes meant to be used as cache dependencies.

Objects implementing this interface must be able to be serialized and unserialized.

公共方法

隐藏继承的方法

方法描述被定义在
evaluateDependency() Evaluates the dependency by generating and saving the data related with dependency. ICacheDependency
getHasChanged() ICacheDependency

方法详情

evaluateDependency() 方法
abstract public void evaluateDependency()

Evaluates the dependency by generating and saving the data related with dependency. This method is invoked by cache before writing data into it.

getHasChanged() 方法
abstract public boolean getHasChanged()
{return} boolean whether the dependency has changed.