public static final DefaultRedisScript<Long> SECKILL_SCRIPT; static { SECKILL_SCRIPT= new DefaultRedisScript<>(); SECKILL_SCRIPT.setLocation(new ClassPathResource("seckill.lua")); SECKILL_SCRIPT.setResultType(Long.class); }
posted on 2023-03-08 17:18 hztech 阅读(10) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 hztech Powered by .NET 8.0 on Kubernetes