CacheDependency

CacheDependency

Tracks cache dependencies, which can be files, directories, or keys to other objects in application's Cache. erited.


Constructor

# new CacheDependency(cacheDependency)

Creates a CacheDependency instance from dependency.

Parameters:
Name Type Default Description
cacheDependency CacheDependency null

Another instance of the CacheDependency class that this instance is dependent upon.

Methods

# (async) dispose()

Releases the resources used by the CacheDependency object.

# getDependencies() → {Array.<CacheDependency>}

Get the List of Dependencies for the Cache Item.

Returns:

List of Cache Dependencies.

Type
Array.<CacheDependency>