public DataSourceReplicationManager(ClusterCacheBase parent, DatasourceMgr dsMgr, ILogger NCacheLog)
 {
     _parent    = parent;
     _dsManager = dsMgr;
     _ncacheLog = NCacheLog;
     _queue     = new WriteBehindAsyncProcessor.WriteBehindQueue(_parent.Context);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 internal DSAsyncUpdatesProcessor(DatasourceMgr dsMgr, ILogger NCacheLog)
 {
     this._ncacheLog    = NCacheLog;
     this._worker       = null;
     this._processMutex = new object();
     this._isDisposing  = false;
     this._dsMgr        = dsMgr;
     this._updateQueue  = new UpdateQueue();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="parent"></param>
 public CacheResyncTask(DatasourceMgr parent, string key, ExpirationHint exh, EvictionHint evh, GroupInfo groupInfo, Hashtable queryInfo, string resyncProviderName)
 {
     _parent             = parent;
     _key                = key;
     _exh                = exh;
     _evh                = evh;
     _groupInfo          = groupInfo;
     _queryInfo          = queryInfo;
     _resyncProviderName = resyncProviderName;
 }
Exemplo n.º 4
0
 public DataSourceCorresponder(DatasourceMgr dsManager, ILogger NCacheLog)
 {
     _dsManager = dsManager;
     _ncacheLog = NCacheLog;
 }