it_worker365

   ::  ::  ::  ::  :: 管理

2020年2月23日

摘要: 1. 初始化 - 高效判断是否第一次初始化 private static AtomicBoolean initialized = new AtomicBoolean(false); if (!initialized.compareAndSet(false, true)) { return; } 2. 阅读全文
posted @ 2020-02-23 18:05 it_worker365 阅读(327) 评论(0) 推荐(0) 编辑

摘要: https://github.com/alibaba/Sentinel/wiki/How-it-works 1. 配置各种规则,然后通过aspectj解析注解然后看是否可以通过各种校验 @Aspect public class SentinelResourceAspect extends Abstr 阅读全文
posted @ 2020-02-23 18:03 it_worker365 阅读(389) 评论(0) 推荐(0) 编辑

摘要: https://cloud.tencent.com/developer/article/1452017 https://github.com/alibaba/Sentinel/wiki/How-to-Use https://github.com/alibaba/Sentinel/wiki/FAQ 集 阅读全文
posted @ 2020-02-23 15:07 it_worker365 阅读(380) 评论(0) 推荐(0) 编辑