private void CacheDeleteAction(RedisChannel channel, RedisValue message) { var deleteNotification = _serialize.Deserialize <CacheNotificationObject>(message); _localCache.Remove(deleteNotification.CacheKey); }
/// <summary> /// 退出互斥操作 /// </summary> /// <param name="managerId"></param> /// <returns></returns> public static bool ExitMutexOperate(Guid managerId) { return(localCache.Remove(string.Concat(MutexOperate, managerId))); }