public static RedisConnection Connect(string host, int port) { var conn = new RedisConnection(); conn.ConnectInt(host, port); return conn; }
public PooledRedisConnection(RedisConnection connection, Action <RedisConnection> callback) : base() { _connection = connection; _callback = callback; }
public PooledRedisConnection(RedisConnection connection, Action<RedisConnection> callback) : base() { _connection = connection; _callback = callback; }
private void ReturnConnectionCallback(RedisConnection connection) { this._availableConnections.Push(connection); }