Пример #1
0
        public long HIncrBy(string key, string field, int incrementBy)
        {
            if (!this.IsValidField(field))
            {
                return(0L);
            }

            RedisNativeClient client = this.pool.GetRedisClient(key);

            return((client == null) ? 0L : client.HIncrby(key, UTF8String.ToBytes(field), incrementBy));
        }