namespace Zeta.EnterpriseLibrary.Caching { public interface ICacheBackingStore { /// <summary> /// Empties the complete cache. /// </summary> void RemoveAll(); /// <summary> /// Removes all items from the cache with /// a certain prefix in the key. /// </summary> /// <param name="group">The group.</param> void RemoveAll( CacheItemGroup group ); /// <summary> /// Removes the specified key. /// </summary> /// <param name="key">The key.</param> /// <returns></returns> object Remove( string key ); /// <summary> /// Read from the cache. /// </summary> /// <param name="key">The key.</param> /// <returns></returns> object Get( string key ); /// <summary> /// Write to the cache. /// </summary> /// <param name="key">The key.</param> /// <param name="value">The value.</param> /// <param name="itemInfo">The item info.</param> void Set( string key, object value, CacheItemInformation itemInfo ); } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)