Ejemplo n.º 1
0
 public RedisClient(RedisConnectionManager connectionManager)
 {
     _connectionectionManager = connectionManager;
     if (_connection == null)
     {
         _connection = _connectionectionManager.GetConnection();
     }
 }
Ejemplo n.º 2
0
 public RedisClient(RedisConnectionManager connectionManager, int db, int timeout, string rootName)
     : this(connectionManager)
 {
     _db = db;
     _rootName = rootName;
     _timeout = timeout;
     if (_connection == null)
     {
         _connection = _connectionectionManager.GetConnection();
     }
 }
 public RedisCacheConfiguration(RedisConnectionManager connectionManager)
     : base(connectionManager)
 {
     Serializer = new FastJsonSerializationProvider();
 }
 public RedisSubscriberConnectionManager(RedisConnectionManager connectionManager)
 {
     _connectionManager = connectionManager;
 }
 public RedisClientConfiguration(RedisConnectionManager redisConnectionManager)
 {
     RedisConnectionManagerConnectionManager = redisConnectionManager;
 }
 public RedisCacheConfigurations(RedisConnectionManager connectionManager)
 {
     RedisClientConfiguration = new RedisClientConfiguration(connectionManager);
 }
 public RedisCacheConfiguration(RedisConnectionManager connectionManager)
     : base(connectionManager)
 {
     Serializer = new ProtoBufSerializationProvider(new ProtobufSerializationConfiguration());
     CacheItemFactory = new ProtobufRedisCacheItemFactory();
 }