public long Incr(string key) { if (key == null) throw new ArgumentNullException("key"); return SendExpectLong(Commands.Incr, key.ToUtf8Bytes()); }
public static void RedisIncrement() { using (IRedisNativeClient nrc = new RedisNativeClient()) { nrc.Del("Increment"); for (int i = 0; i < iterations; i++) { nrc.Incr("Increment"); } } }