Home / Function/ started() — spring-boot Function Reference

started() — spring-boot Function Reference

Architecture documentation for the started() function in SpringApplication.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 4

Entity Profile

Dependency Diagram

graph TD
  d7c9c1bc_b766_51b0_715d_03aefa02cade["started()"]
  89cfa04a_3922_680e_945d_5b4338252cc7["run()"]
  89cfa04a_3922_680e_945d_5b4338252cc7 -->|calls| d7c9c1bc_b766_51b0_715d_03aefa02cade
  bb578fe3_d8f2_8249_7c83_3812174867a6["timeTakenToStarted()"]
  bb578fe3_d8f2_8249_7c83_3812174867a6 -->|calls| d7c9c1bc_b766_51b0_715d_03aefa02cade
  f7b8629b_707e_beaa_ad5c_cf57beb5cd79["started()"]
  f7b8629b_707e_beaa_ad5c_cf57beb5cd79 -->|calls| d7c9c1bc_b766_51b0_715d_03aefa02cade
  ba6fef92_1e35_fe47_1949_f3b5d0049f8b["shouldPublishLifecycleEvents()"]
  ba6fef92_1e35_fe47_1949_f3b5d0049f8b -->|calls| d7c9c1bc_b766_51b0_715d_03aefa02cade
  0bd337be_2744_8385_2539_8813301839f5["startTime()"]
  d7c9c1bc_b766_51b0_715d_03aefa02cade -->|calls| 0bd337be_2744_8385_2539_8813301839f5
  style d7c9c1bc_b766_51b0_715d_03aefa02cade fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java lines 1754–1758

		final Duration started() {
			long now = System.currentTimeMillis();
			this.timeTakenToStarted = Duration.ofMillis(now - startTime());
			return this.timeTakenToStarted;
		}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does started() do?
started() is a function in the spring-boot codebase.
What does started() call?
started() calls 1 function(s): startTime.
What calls started()?
started() is called by 4 function(s): run, shouldPublishLifecycleEvents, started, timeTakenToStarted.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free