Package | system.caching |
---|---|
Inheritance | interface ICacheDependency |
Subclasses | CCacheDependency, CChainedCacheDependency, CDbCacheDependency, CDirectoryCacheDependency, CExpressionDependency, CFileCacheDependency, CGlobalStateCacheDependency |
Since | 1.0 |
Source Code | framework/base/interfaces.php |
Method | Description | Defined By |
---|---|---|
evaluateDependency() | Evaluates the dependency by generating and saving the data related with dependency. | ICacheDependency |
getHasChanged() | Returns whether the dependency has changed. | ICacheDependency |
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.
abstract public boolean getHasChanged()
| ||
{return} | boolean | whether the dependency has changed. |
Signup or Login in order to comment.