Пример #1
0
 static MemCachedConfigs()
 {
     m_configinfo = MemCachedConfigFileManager.LoadConfig();
     memCachedConfigTimer.AutoReset = true;
     memCachedConfigTimer.Enabled   = true;
     memCachedConfigTimer.Elapsed  += new System.Timers.ElapsedEventHandler(Timer_Elapsed);
     memCachedConfigTimer.Start();
 }
Пример #2
0
 /// <summary>
 /// 重设配置类实例
 /// </summary>
 public static void ResetConfig()
 {
     m_configinfo = MemCachedConfigFileManager.LoadConfig();
 }