/// <summary> /// 释放,开始立即更新所有缓存 /// </summary> public void Dispose() { if (DoFlush) { WlMessageQueue.OperateQueue(); } }
/// <summary> /// 启动线程轮询 /// </summary> public void Run() { do { WlMessageQueue.OperateQueue(); Thread.Sleep(_sleepMilliSeconds); } while (true); }