Пример #1
0
 public CacheContext(String connectionString, String converterType, String clusterType, int monitorPort, int monitorIntervalMilliseconds)
 {
     this.convert = RedisConverterFactory.CreateConverter(converterType);
     this.client  = new RedisClient(connectionString, clusterType, monitorPort, monitorIntervalMilliseconds);
 }
Пример #2
0
 public CacheContext(String connectionName, String converterType)
 {
     this.convert = RedisConverterFactory.CreateConverter(converterType);
     this.client  = RedisClient.GetNamedRedisClient(connectionName);
 }