Esempio n. 1
0
 /// <summary>
 /// 更新搜索历史
 /// </summary>
 /// <param name="state">state</param>
 public void UpdateSearchHistory(UpdateSearchHistoryState state)
 {
     ManagedThreadPool.QueueUserWorkItem(new WaitCallback(SearchHistories.UpdateSearchHistory), state);
 }
Esempio n. 2
0
 /// <summary>
 /// 更新PV统计
 /// </summary>
 /// <param name="state">state</param>
 public void UpdatePVStat(UpdatePVStatState state)
 {
     ManagedThreadPool.QueueUserWorkItem(new WaitCallback(PVStats.UpdatePVStat), state);
 }
Esempio n. 3
0
 /// <summary>
 /// 更新在线用户
 /// </summary>
 /// <param name="state">state</param>
 public void UpdateOnlineUser(UpdateOnlineUserState state)
 {
     ManagedThreadPool.QueueUserWorkItem(new WaitCallback(OnlineUsers.UpdateOnlineUser), state);
 }