public static void RemoveCacheIndexEntry(Guid id) { var entry = GetCacheIndexEntry(id); if (entry != null) { CfCacheIndex.Remove(entry); } }
/// <summary> /// Called when we want to manually force a cache refresh /// </summary> public static void RefreshCacheIndex() { CfCacheIndex.Refresh(); }
public static void UpdateIndexEntryInCache(CfCacheIndexEntry entry) { CfCacheIndex.Update(entry); }
public static CfCacheIndexEntry GetCacheIndexEntry(Guid id) { return(CfCacheIndex.Get(id)); }
//protected static CfCacheIndex CI { get; set; } /// <summary> /// Static constructor to force some caching to occur on application load /// </summary> //public static void InitializeAllCacheItems() //{ // CPC //} public static void AddIndexEntryToCache(CfCacheIndexEntry entry) { CfCacheIndex.Add(entry); }