![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
文章平均质量分 63
Anonymous_999
华科 --> 华为
展开
-
lettuce redis连接池事件监控
ConnectedEvent:连接建立的时候会发出的事件,包含建立连接的远程 IP 与端口以及使用的 Redis URI 等信息,对应 Netty 其实就是 ChannelHandler 中的 channelActive 回调一开始就会发出的事件。ReconnectAttemptEvent:Lettuce 中的 Redis 连接会被维护为长连接,当连接丢失,会自动重连,需要重连的时候,会发出这个事件。ReconnectFailedEvent:当重连并且失败的时候的时候,会发出这个事件。原创 2023-02-01 19:29:58 · 1125 阅读 · 0 评论 -
Spring Configuration导致的循环依赖
3. 由于beanA在ConfigurationTest中声明,创建bean:ConfigurationTest。4. bean:ConfigurationTest创建完成后,需注入bean:beanA。5. 创建bean:beanA,发现已经在创建中,抛出异常。原创 2023-01-17 15:10:16 · 217 阅读 · 0 评论