예제 #1
0
 /// <summary>
 /// 获取当前队列(不存在,则创建)
 /// </summary>
 /// <param name="name">表名称</param>
 public ProcQueue GetQueue(string name)
 {
     return(_queue ?? (_queue = new ProcQueue(_groupQueueList.Count, name)));
 }
예제 #2
0
 /// <summary>
 /// 清除当前队列
 /// </summary>
 private void Clear()
 {
     _queue = null;
 }