Exemple #1
0
        public double HIncrByFloat(string key, string field, double incrementBy)
        {
            if (!this.IsValidField(field))
            {
                return(0.0);
            }

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

            return((client == null) ? 0.0 : client.HIncrbyFloat(key, UTF8String.ToBytes(field), incrementBy));
        }