摘要: import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; /** * 限流器 */ public class RateLimiter { /** * 时间窗口,单位毫秒 */ pri 阅读全文
posted @ 2024-09-14 10:54 黄河大道东 阅读(4) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示