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