示例#1
0
 static RedisConfigs()
 {
     m_configinfo = RedisConfigFileManager.LoadConfig();
     redisConfigTimer.AutoReset = true;
     redisConfigTimer.Enabled   = true;
     redisConfigTimer.Elapsed  += new System.Timers.ElapsedEventHandler(Timer_Elapsed);
     redisConfigTimer.Start();
 }
示例#2
0
 /// <summary>
 /// 重设配置类实例
 /// </summary>
 public static void ResetConfig()
 {
     m_configinfo = RedisConfigFileManager.LoadConfig();
 }