简体   繁体   English

spring-boot @Scheduled pool-size 调试

[英]spring-boot @Scheduled pool-size debugging

I am developing an app using the spring-boot @Scheduled annotation and I am trying to make it use multiple threads by setting the pool-size.我正在使用 spring-boot @Scheduled 注释开发一个应用程序,我试图通过设置池大小使其使用多个线程。 Now I wonder how I actually can see that there are multiple threads running?现在我想知道我如何才能看到有多个线程在运行?

Does IntelliJ support debugging of pooled runners? IntelliJ 是否支持池运行器的调试?

Any active threads in your JVM should be shown in IntelliJ Debug tab in Threads view if you click on threads that you can event customize .如果单击可以自定义事件的线程,则 JVM 中的任何活动线程都应显示在线程视图的 IntelliJ 调试选项卡中。

活动线程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM