예제 #1
0
 public static void Remove(int channelId)
 {
     lock (LockObject)
     {
         DataCacheManager.RemoveByPrefix($"{CachePrefix}.{channelId}.");
     }
 }
예제 #2
0
 public static void Remove(int channelId)
 {
     lock (LockObject)
     {
         var cacheKey = GetCacheKey(channelId);
         DataCacheManager.Remove(cacheKey);
         DataCacheManager.RemoveByPrefix(cacheKey);
     }
 }