关于ConcurrentQueue--一个队列缓存的设计
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Collections.Concurrent;namespace PDAJob.PDAService.Service{ public class CacheList<T> { private int MaxSize = 10000; private int ShrinkLen = 2000; private ConcurrentQueue<CacheIte... 阅读全文
posted @ 2013-05-21 16:24 遗忘海岸 阅读(4632) 评论(0) 推荐(0) 编辑