コード例 #1
0
 /// <summary>
 /// 创建链接池管理对象
 /// </summary>
 private static void CreateManager()
 {
     redisSentinel = new RedisSentinel(ConfigurationManager.GetSection("RedisSentinelServers").Split(','));
     redisSentinel.Start();
     redisClientsManager = redisSentinel.GetRedisManager();
 }