摘要:
package redis;import redis.clients.jedis.Jedis;public class 短连接 {// 社交网站点击追踪机制:类似微博,发送连接地址:http://redis.com/index.html->http://t.cn/XSGGA9D//// 长连接赚成短 阅读全文
posted @ 2021-03-28 03:23
三号小玩家
阅读(137)
评论(0)
推荐(0)
摘要:
public static void main(String[] args) { Jedis jedis = new Jedis("127.0.0.1");//id自增 jedis.del("article:1:dianzan");// System.out.println(incr); for ( 阅读全文
posted @ 2021-03-28 02:16
三号小玩家
阅读(91)
评论(0)
推荐(0)
摘要:
public static void main(String[] args) { Jedis jedis = new Jedis("127.0.0.1");//id自增 Long incr = jedis.incr("order_id_counter"); System.out.println(in 阅读全文
posted @ 2021-03-28 01:37
三号小玩家
阅读(65)
评论(0)
推荐(0)
摘要:
public static void main(String[] args) { Jedis jedis = new Jedis("127.0.0.1"); jedis.setnx("operation_log_2020_1_01",""); for (int i = 0; i < 10; i++) 阅读全文
posted @ 2021-03-28 01:30
三号小玩家
阅读(99)
评论(0)
推荐(0)

浙公网安备 33010602011771号