public static void hscandel(Jedis jedis,String bigkey){
// 分批删除
try {
ScanParams scanParams = new ScanParams();
// 每次删除 500 条
scanParams.count(10000);
String cursor = "";
while (!cursor.equals("0")){
redis游标删除
最新推荐文章于 2022-10-09 13:38:02 发布