VincentMzm
V2EX  ›  Java

求解 StartupStep 这个接口是做什么用的?

  •  
  •   VincentMzm · Jun 20, 2021 · 2361 views
    This topic created in 1863 days ago, the information mentioned may be changed or developed.

    在看 spring 的源码 不是很理解这个 StartupStep 的作用 有没有大佬帮忙解答一下

    1 replies    2021-06-22 15:29:58 +08:00
    zhady009
        1
    zhady009  
       Jun 22, 2021
    Spring5.3 里增加的 简单试了下试可以统计 bean 创建耗时
    可以看下这个文章 https://www.amitph.com/spring-boot-startup-monitoring/#ApplicationStartup_StartupStep
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1288 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:52 · PVG 07:52 · LAX 16:52 · JFK 19:52
    ♥ Do have faith in what you're doing.