会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
清明雨下
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
10
下一页
2024年2月5日
正则表达式忽略大小写
摘要: (?i)忽略大小写 匹配得氛围用() 来限制,比如: ((?i)yes) 表示可匹配 Yes yEs YEs
阅读全文
posted @ 2024-02-05 09:15 清明雨下
阅读(109)
评论(0)
推荐(0)
2024年2月4日
retrofit
摘要: retrofit vs okhttp
阅读全文
posted @ 2024-02-04 09:43 清明雨下
阅读(18)
评论(0)
推荐(0)
2024年2月1日
新增和编辑公共入参认证
摘要: public class ComVO{ @NotBlank(message="用户id不可空",groups={EditGroup.class} private String id; @NotBlank(message="用户名称不可空",groups={EditGroup.class,AddGro
阅读全文
posted @ 2024-02-01 14:37 清明雨下
阅读(31)
评论(0)
推荐(0)
2024年1月31日
异步线程池
摘要: @Configuration @EnableAsync public class AppConfig implements AsyncConfigurer { @Bean("myAsyncThread”) public Executor getAsyncExecutor() { ThreadPool
阅读全文
posted @ 2024-01-31 14:39 清明雨下
阅读(22)
评论(0)
推荐(0)
kafka消费者在项目启动后 直接注册消费消息
摘要: @Componentpublic class KafkaRegisterEntryPoint implements CommandLineRunner { @Autowired ApplicationContext applicationContext; @Override public void
阅读全文
posted @ 2024-01-31 11:28 清明雨下
阅读(48)
评论(0)
推荐(0)
2024年1月29日
异步 ApllicationContext pushlishEvent @EventLisener来处理
摘要: import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationEvent; import org.springframework.context.event.A
阅读全文
posted @ 2024-01-29 16:16 清明雨下
阅读(41)
评论(1)
推荐(0)
2024年1月19日
创建隧道和删除隧道
摘要: 一、在linux机器上创建隧道 172.36.11.154 能访问 172.36.11.153:22端口 , 172.36.11.154 不能直接访问10.209.22.101:8157 则 172.36.11.154:18154 》(172.36.11.153:22) 》10.209.22.101
阅读全文
posted @ 2024-01-19 16:40 清明雨下
阅读(208)
评论(0)
推荐(0)
2024年1月17日
Feign超时
摘要: @FeignClient(name = "feignClient", url = "${aaa.Url:http://127.0.0.1:80}", configuration = {CustFeignConfig.class})public interface FeignClient { @Pos
阅读全文
posted @ 2024-01-17 09:09 清明雨下
阅读(35)
评论(0)
推荐(0)
2023年11月21日
Spring扩展点系列(转)
摘要: https://blog.csdn.net/fox9916/article/details/129086542
阅读全文
posted @ 2023-11-21 09:52 清明雨下
阅读(17)
评论(0)
推荐(0)
项目初始化执行一次性操作
摘要: CommandLineRunner ApplicationRunner 注意: 在其run方法中如果使用线程操作,那么 如果线程中有使用dao 且dao是注入的话,则dao在第二次使用时 连接会被关闭,解决方案是,在run方法中publish一个event 然后通过EventListener 异步处
阅读全文
posted @ 2023-11-21 09:40 清明雨下
阅读(27)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
10
下一页
公告