internal override void SetCacheData(string key, DistributeData data, DistributedCacheEntryOptions options) { fLock.WriteLockAction(() => { fCacheTable.TryAdd(key, new WeakReference <DistributeData>(data)); Cache.Set(key, data.ToDistributeData(), options); return(true); }); }
internal virtual void SetCacheData(string key, DistributeData data, DistributedCacheEntryOptions options) { Cache.Set(key, data.ToDistributeData(), options); }