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); }
public CacheContext(String connectionName, String converterType) { this.convert = RedisConverterFactory.CreateConverter(converterType); this.client = RedisClient.GetNamedRedisClient(connectionName); }