java.lang.Object
org.springframework.boot.context.metrics.buffering.StartupTimeline

public class StartupTimeline extends Object
Represent the timeline of steps recorded by BufferingApplicationStartup. Each StartupTimeline.TimelineEvent has a start and end time as well as a duration measured with nanosecond precision.
Since:
2.4.0
  • Method Details

    • getStartTime

      public Instant getStartTime()
      Return the start time of this timeline.
      Returns:
      the start time
    • getEvents

      public List<StartupTimeline.TimelineEvent> getEvents()
      Return the recorded events.
      Returns:
      the events