Class StartupTimeline.TimelineEvent

java.lang.Object
org.springframework.boot.context.metrics.buffering.StartupTimeline.TimelineEvent
Enclosing class:
StartupTimeline

public static class StartupTimeline.TimelineEvent extends Object
Event on the current StartupTimeline. Each event has a start/end time, a precise duration and the complete StartupStep information associated with it.
  • Method Details

    • getStartTime

      public Instant getStartTime()
      Return the start time of this event.
      Returns:
      the start time
    • getEndTime

      public Instant getEndTime()
      Return the end time of this event.
      Returns:
      the end time
    • getDuration

      public Duration getDuration()
      Return the duration of this event, i.e. the processing time of the associated StartupStep with nanoseconds precision.
      Returns:
      the event duration
    • getStartupStep

      public StartupStep getStartupStep()
      Return the StartupStep information for this event.
      Returns:
      the step information.