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.
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. |