Beispiel #1
0
 public void OnRemoteDelete(string key, string memberName)
 {
     _logger.Log(LogLevel.Trace, string.Format("GreatEagle OnRemoteDelete {0}", key));
     if (_memberName == memberName)
     {
         return;
     }
     _localCacheProvider?.Delete(key, true);
 }
Beispiel #2
0
        public HappyPather(IDependencyContainer <IContainer> demoDependencyContainer, string key)
        {
            var container = demoDependencyContainer;

            _demoHelper  = container.Resolve <IDemoHelper>();
            _localCache  = container.Resolve <ILocalCacheProvider>();
            _remoteCache = container.Resolve <IRemoteCacheProvider>();
            _localCache.Delete(key, false);
            _remoteCache.Delete(key, false);
        }
Beispiel #3
0
 public void Delete(string id)
 {
     _littleThunder.Delete(id, false);
 }