idea警告Possibly blocking call in non-blocking context could lead to thread starvation
摘要:
看下列代码 这个警告的说在非阻塞上下文中阻塞调用可能会导致线程饥饿 解决方法: private Mono<Path> createTempFile(String name) { String prefix = name +"_"; return Mono.defer(() -> { Path dir 阅读全文
posted @ 2023-04-11 04:49 白衣风云 阅读(2501) 评论(0) 推荐(0) 编辑