Exemplo n.º 1
0
        public long RPush(string key, string[] value)
        {
            RedisNativeClient client = this.pool.GetRedisClient(key);

            return((client == null) ? 0L : client.RPush(key, UTF8String.ToBytesArray(value)));
        }
Exemplo n.º 2
0
        public long AddItemToList(string key, string value)
        {
            RedisNativeClient client = this.pool.GetRedisClient(key);

            return((client == null) ? 0L : client.RPush(key, UTF8String.ToBytes(value)));
        }