摘要: springboot 启动 run 方法,会启动一个时间计数器 StopWatch, 是spring 提供的工具类,通过 start() 与 stop() 来统计程序的执行时间。 同一时间内只能统计一个任务,在上一个 stop 之后才能开启下一个任务的 start 。代码演示 public clas 阅读全文
posted @ 2021-09-01 10:20 byebai95 阅读(112) 评论(0) 推荐(0)