MemcachedClient.Set 方法正常
调用Get的时候,直接报错,报“Unrecognized command” 的异常
以下是构造函数代码片段:
MemcachedClient _cache; /// <summary> /// 构造函数 /// </summary> MemCacheUnitly() { _cache = MemcachedClient.Create(); } /// <summary> /// 实例化对象 /// </summary> public static MemCacheUnitly Instance { get { return new MemCacheUnitly(); } }