C# Class Rebel.Cms.Web.Caching.CacheRecycler

This object is used for when nodes and templates are saved When a node is saved the background thread will only wam the relevant nodes
Mostra file Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
CacheRecycler ( string host, IFrameworkContext frameworkContext ) : System.Threading
RecycleCacheFor ( TypedEntity entity ) : void

Private Methods

Method Description
GenerateIndexesFor ( string node ) : void
RegenerateCache ( string url ) : void
RemoveFromProvider ( AbstractApplicationCache cache, string niceUrl ) : void
RemoveFromProvider ( TypedEntity entity, AbstractCacheProvider cache, string niceUrl ) : void

Method Details

CacheRecycler() public method

public CacheRecycler ( string host, IFrameworkContext frameworkContext ) : System.Threading
host string
frameworkContext IFrameworkContext
return System.Threading

RecycleCacheFor() public method

public RecycleCacheFor ( TypedEntity entity ) : void
entity TypedEntity
return void