コード例 #1
0
 /// <summary>
 /// 初始化
 /// </summary>
 /// <param name="sectionName"></param>
 /// <param name="type"></param>
 /// <param name="master"></param>
 /// <param name="password"></param>
 /// <param name="serviceName"></param>
 /// <param name="poolSize"></param>
 /// <param name="busyRetry"></param>
 /// <param name="busyRetryWaitMS"></param>
 internal void Init(string sectionName, RedisConfigType type, string master, string password = "", string serviceName = "", int poolSize = 1, int busyRetry = 10, int busyRetryWaitMS = 1000)
 {
     _redisHelper.Init(sectionName, type, master, password, serviceName, poolSize, busyRetry, busyRetryWaitMS);
 }
コード例 #2
0
 /// <summary>
 ///     初始化
 ///     使用RedisHelperBuilder.Build请不要调用此方法
 /// </summary>
 /// <param name="sectionName"></param>
 /// <returns></returns>
 internal void Init(string sectionName)
 {
     _redisHelper.Init(sectionName);
 }