多线程
我的身前一尺是我的世界
三十功名尘与土,八千里路云和月。
展开
-
JAVA多线程提高接口响应速度实例
package com.ctx.controller; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.FutureTask; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind..原创 2020-08-13 23:30:40 · 1953 阅读 · 2 评论 -
提高Tomcat吞吐量
package com.ctx.controller; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController p.原创 2020-08-13 23:17:13 · 1669 阅读 · 5 评论