Esempio n. 1
0
 /// <summary>
 /// 获取数据
 /// </summary>
 /// <param name="queue"></param>
 /// <param name="node"></param>
 /// <param name="key"></param>
 internal GetTask(MemberQueueCustom <valueType, modelType, memberCacheType, keyType, cacheValueType> queue, memberCacheType node, keyType key)
 {
     this.queue = queue;
     this.node  = node;
     this.key   = key;
     wait.Set(0);
 }
Esempio n. 2
0
 /// <summary>
 /// 获取缓存数据
 /// </summary>
 /// <param name="queue"></param>
 /// <param name="node"></param>
 /// <param name="key"></param>
 internal GetByKeyAwaiter(MemberQueueCustom <valueType, modelType, memberCacheType, keyType, cacheValueType> queue, memberCacheType node, keyType key)
 {
     this.queue = queue;
     this.node  = node;
     this.key   = key;
 }