Example #1
0
 public CacheItemHolder(
     CacheManager cache,
     CacheItemGroup cacheItemGroup)
 {
     this.cache = cache;
     this.cacheItemInfo.Group = cacheItemGroup;
 }
Example #2
0
 public CacheItemHolder(
     T value,
     CacheItemGroup cacheItemGroup)
 {
     this.Value = value;
     this.cacheItemInfo.Group = cacheItemGroup;
 }
Example #3
0
 public void RemoveAll(CacheItemGroup group)
 {
     lock (thisLock)
     {
         this.client.FlushAll();
     }
 }
Example #4
0
 public virtual void RemoveAll(
     CacheItemGroup group)
 {
     lock ( thisLock )
     {
         if (backer != null)
         {
             backer.RemoveAll(group);
         }
     }
 }
Example #5
0
 public CacheItemHolder(
     CacheItemGroup cacheItemGroup)
 {
     this.cacheItemInfo.Group = cacheItemGroup;
 }
Example #6
0
 public static bool IsNullOrEmpty(
     CacheItemGroup group)
 {
     return(group == null || group.IsEmpty);
 }
Example #7
0
 public void RemoveAll(
     CacheItemGroup group)
 {
     RemoveAll(group.Name);
 }